{"_id":"mongodb-log2ejson","_rev":"108-a90715045049dea893a4714d71902300","name":"mongodb-log2ejson","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"mongodb-log2ejson","version":"0.1.0","keywords":["mongodb","log","parse","eJSON","JSON"],"author":{"name":"Thomas Rueckstiess"},"license":"MIT","_id":"mongodb-log2ejson@0.1.0","maintainers":[{"name":"rueckstiess","email":"thomas@rueckstiess.net"}],"homepage":"https://github.com/rueckstiess/mongodb-log2ejson","bugs":{"url":"https://github.com/rueckstiess/mongodb-log2ejson/issues"},"dist":{"shasum":"28a0fd397d10e36ea2e1ce362cd112e1525a9df3","tarball":"https://registry.npmjs.org/mongodb-log2ejson/-/mongodb-log2ejson-0.1.0.tgz","integrity":"sha512-tvVpj0FEsEfs+StbGSy8GEvkeO2m6PenRzAvAm3f1bLEypZ17DaTBOF7ET8JQDhiq6y+cnxpDkJIcwEzCU/HMA==","signatures":[{"sig":"MEQCIE1LqyOkRFNZA+m0XndZd0bl0VME3+HAHIcFzxr3R1A0AiAS4XmKeFOU+m/a2T6g4iblLXvgBscIf6zw6nIesf8yAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"28a0fd397d10e36ea2e1ce362cd112e1525a9df3","gitHead":"3c23f7a801b85cf78bdd1590c16e93e584f1457d","scripts":{"test":"mocha"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"repository":{"url":"https://github.com/rueckstiess/mongodb-log2ejson.git","type":"git"},"_npmVersion":"2.1.3","description":"converts mongodb native types found in log files to ejson","directories":{"test":"test"},"_nodeVersion":"0.10.30","dependencies":{"moment":"^2.8.4"},"devDependencies":{}},"0.1.1":{"name":"mongodb-log2ejson","version":"0.1.1","keywords":["mongodb","log","parse","eJSON","JSON"],"author":{"name":"Thomas Rueckstiess"},"license":"MIT","_id":"mongodb-log2ejson@0.1.1","maintainers":[{"name":"rueckstiess","email":"thomas@rueckstiess.net"}],"homepage":"https://github.com/rueckstiess/mongodb-log2ejson","bugs":{"url":"https://github.com/rueckstiess/mongodb-log2ejson/issues"},"dist":{"shasum":"a057e5d6e34c5a032e0fed99875acb38ed380f00","tarball":"https://registry.npmjs.org/mongodb-log2ejson/-/mongodb-log2ejson-0.1.1.tgz","integrity":"sha512-od6PhMvPDvLydPW46+QquYGXb6mmYdHosjT6zNzfYDunYpyFIXW6k/BpNFjyYHb1O7pZnnXKgV7VKmuJAlkNMA==","signatures":[{"sig":"MEYCIQD4TUdBEo97ocbqo6VWWYQJALVrFjswuHwGBuSVwGOenQIhAP41O+Rw//s080OC4WxGfJhHawx3Qm7WlOONSPLYW6Oq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a057e5d6e34c5a032e0fed99875acb38ed380f00","gitHead":"069a7522b43c3d7c8f9f63c2e55d59b621d43d08","scripts":{"test":"mocha"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"repository":{"url":"https://github.com/rueckstiess/mongodb-log2ejson.git","type":"git"},"_npmVersion":"2.1.3","description":"converts mongodb native types found in log files to ejson","directories":{"test":"test"},"_nodeVersion":"0.10.30","dependencies":{"moment":"^2.8.4"},"devDependencies":{}},"0.1.2":{"name":"mongodb-log2ejson","version":"0.1.2","keywords":["mongodb","log","parse","eJSON","JSON"],"author":{"name":"Thomas Rueckstiess"},"license":"MIT","_id":"mongodb-log2ejson@0.1.2","maintainers":[{"name":"rueckstiess","email":"thomas@rueckstiess.net"}],"homepage":"https://github.com/rueckstiess/mongodb-log2ejson","bugs":{"url":"https://github.com/rueckstiess/mongodb-log2ejson/issues"},"dist":{"shasum":"cc76cb500696ef9d88b4ae3f62439508051ef931","tarball":"https://registry.npmjs.org/mongodb-log2ejson/-/mongodb-log2ejson-0.1.2.tgz","integrity":"sha512-GP6yXLpMxvN5CBRnvRP0eelERt/yyAmoGLrjEYhq5X6n5uLDcUz61TLvVBeStvYUGnjxqdeEJgliHEpUZoGmxQ==","signatures":[{"sig":"MEQCIETGiahw7o0zGmLbgWUlAdrTpnPiOImIYExn1z33P5IqAiB+TIA7O1IwLZGe0ZX8u37GPVeewSEZ6D5udyNMeokcog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"cc76cb500696ef9d88b4ae3f62439508051ef931","gitHead":"bbc1d7bae26e0d1083e2bc17d53b1dac384300b6","scripts":{"test":"mocha"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"repository":{"url":"https://github.com/rueckstiess/mongodb-log2ejson.git","type":"git"},"_npmVersion":"2.1.3","description":"converts mongodb native types found in log files to ejson","directories":{"test":"test"},"_nodeVersion":"0.10.30","dependencies":{"moment":"^2.8.4"},"devDependencies":{}},"0.1.3":{"name":"mongodb-log2ejson","version":"0.1.3","keywords":["mongodb","log","parse","eJSON","JSON"],"author":{"name":"Thomas Rueckstiess"},"license":"MIT","_id":"mongodb-log2ejson@0.1.3","maintainers":[{"name":"rueckstiess","email":"thomas@rueckstiess.net"}],"homepage":"https://github.com/rueckstiess/mongodb-log2ejson","bugs":{"url":"https://github.com/rueckstiess/mongodb-log2ejson/issues"},"dist":{"shasum":"731ee8ef621397a9f048aeedc61035e5623008f5","tarball":"https://registry.npmjs.org/mongodb-log2ejson/-/mongodb-log2ejson-0.1.3.tgz","integrity":"sha512-zTIaSMrBlj7xD/tiEAxesKD/AJuvpktqIYv2X6kjDbVfCjpzzDgv+j4q9LpXXDYqFDnJcXlw1tqteh73EN8K+A==","signatures":[{"sig":"MEUCIQCyICSXWKVxTpY8DSTu6o1PMDUuJ/50xXpLc05eKxjpjQIgK+NNBx6hCL0BenL61Di65ZxOp0Q3gCxMXtGGl5WV7tA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"731ee8ef621397a9f048aeedc61035e5623008f5","gitHead":"ee39a33a6cdc4e016a189411fa94f160d729331a","scripts":{"test":"mocha"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"repository":{"url":"https://github.com/rueckstiess/mongodb-log2ejson.git","type":"git"},"_npmVersion":"2.1.3","description":"converts mongodb native types found in log files to ejson","directories":{"test":"test"},"_nodeVersion":"0.10.30","dependencies":{"moment":"^2.8.4"},"devDependencies":{}}},"time":{"created":"2014-12-21T01:22:09.065Z","modified":"2026-07-15T15:36:14.838Z","0.1.0":"2014-12-21T01:22:09.065Z","0.1.1":"2014-12-21T02:06:59.317Z","0.1.2":"2014-12-21T02:20:10.811Z","0.1.3":"2014-12-21T04:52:35.846Z"},"bugs":{"url":"https://github.com/rueckstiess/mongodb-log2ejson/issues"},"author":{"name":"Thomas Rueckstiess"},"license":"MIT","homepage":"https://github.com/rueckstiess/mongodb-log2ejson","keywords":["mongodb","log","parse","eJSON","JSON"],"repository":{"url":"https://github.com/rueckstiess/mongodb-log2ejson.git","type":"git"},"description":"converts mongodb native types found in log files to ejson","maintainers":[{"email":"satya@mongodb.com","name":"satyasinha"},{"email":"kristina.stefanova@mongodb.com","name":"kristina.stefano"},{"email":"nathan.smyth@10gen.com","name":"jarjee"},{"email":"iteng@mongodb.com","name":"devtoolsbot"},{"email":"james.wang@mongodb.com","name":"mongo-j"},{"email":"neal.beeken@mongodb.com","name":"nbbeeken"},{"email":"dbx-node@mongodb.com","name":"dbx-node"},{"email":"devtools-npm-user@mongodb.com","name":"devtools-npm-user"},{"email":"me@tomr.au","name":"rueckstiess"}],"readme":"# mongodb-log2ejson\n\nThis little helper module converts MongoDB native types printed in log files into [extended JSON strict format](http://docs.mongodb.org/manual/reference/mongodb-extended-json/). \n\nWhen MongoDB (version 2.8.0 and below) prints certain types to log files (e.g. for slow queries), it uses a custom format that is neither strict eJSON nor shell syntax. This module parses the different types and converts them to strict eJSON.\n\nSee also ticket [SERVER-16618](https://jira.mongodb.org/browse/SERVER-16618) in MongoDB's Jira.\n\n### Usage\n\n```js\n\nvar parser = require('mongodb-log2ejson');\n\nvar parsed = parser('{ created: new Date(1388534400000) }');\nconsole.log(parsed);\n\n// output: { created: { \"$date\": \"2014-01-01T00:00:00.000Z\" } }\n\n```\n\n### Test\n\nrun `mocha`.\n\n","readmeFilename":"README.md"}