{"_id":"through-json","_rev":"12-754121ff43a3620797edf496d5bc07d8","name":"through-json","description":"Through stream that parses each write as a JSON message.","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"through-json","version":"0.1.0","description":"Through stream that parses each write as a JSON message.","repository":{"type":"git","url":"git://github.com/mafintosh/through-json.git"},"keywords":["stream","streams2","through","json","parse"],"dependencies":{"through2":"^0.4.1"},"devDependencies":{"tap":"^0.4.8"},"scripts":{"test":"tap test.js"},"bugs":{"url":"https://github.com/mafintosh/through-json/issues"},"homepage":"https://github.com/mafintosh/through-json","_id":"through-json@0.1.0","dist":{"shasum":"f1a74c51d4e44635368d8ec65ac42a8130f9af7e","tarball":"https://registry.npmjs.org/through-json/-/through-json-0.1.0.tgz","integrity":"sha512-HF/GEMSC3fOTZQauoU4OXBIDod8/TEqeDuwWL8vLxrXvXGIcK+QtTQ2rrBSSy+bxLFNGFhsJH5Ne0Ma2si/SAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClqIXC7wSULgWDN8q/4q5uLp5KaLmgrh1O2SvsP62zlwIhAO2MnmVQFGr1793kbQRWoB1l98PtyktEnT9j2TpZtYn4"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.1.1":{"name":"through-json","version":"0.1.1","description":"Through stream that parses each write as a JSON message.","repository":{"type":"git","url":"git://github.com/mafintosh/through-json.git"},"keywords":["stream","streams2","through","json","parse"],"dependencies":{"through2":"^0.4.1"},"devDependencies":{"tap":"^0.4.8"},"scripts":{"test":"tap test.js"},"bugs":{"url":"https://github.com/mafintosh/through-json/issues"},"homepage":"https://github.com/mafintosh/through-json","_id":"through-json@0.1.1","dist":{"shasum":"2daa1603bdc9ac0f3459d38b7e6b9319cfb575cb","tarball":"https://registry.npmjs.org/through-json/-/through-json-0.1.1.tgz","integrity":"sha512-e3473JSWQzH+gWd1CfD/VlD7C92gl0nspaEl/Qe76es0s3+t0kxFhz/lbFU/4r+Bq/WlYEF567XtxT9qegBePg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXMWYMBNM6khS6QGk6xD72iVD3m7p6QSc0Jhpl/aMYqAIgOlTO4LLQR6hDhmdwgSLpx4V/vpbKxANvZ57Vj01OOdk="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"1.0.0":{"name":"through-json","version":"1.0.0","description":"Through stream that parses each write as a JSON message.","repository":{"type":"git","url":"git://github.com/mafintosh/through-json.git"},"keywords":["stream","streams2","through","json","parse"],"dependencies":{"through2":"^0.5.1"},"devDependencies":{"tap":"^0.4.8"},"scripts":{"test":"tap test.js"},"bugs":{"url":"https://github.com/mafintosh/through-json/issues"},"homepage":"https://github.com/mafintosh/through-json","_id":"through-json@1.0.0","_shasum":"b4d69e06cffa09bac74af4bea50e00f7d86de148","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"b4d69e06cffa09bac74af4bea50e00f7d86de148","tarball":"https://registry.npmjs.org/through-json/-/through-json-1.0.0.tgz","integrity":"sha512-ZNqNT4UtWwMpKw+gmbphiKge2geJo8cQlCDuLdWrD77Ibth2XZ9xo6kNnbAM5bmsYq/aHH+jrRsyhJfRked7zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGdRjTrYllc3N0JAL0JMFaxyMQZN//jq+boWqPpFknuAIhAOm+ttVAGQXcr6L94dDcbnEwF6WMqX7YKT3UB12uMYk4"}]}},"1.0.1":{"name":"through-json","version":"1.0.1","description":"Through stream that parses each write as a JSON message.","repository":{"type":"git","url":"git://github.com/mafintosh/through-json.git"},"keywords":["stream","streams2","through","json","parse"],"dependencies":{"through2":"^0.5.1"},"devDependencies":{"tap":"^0.4.8"},"scripts":{"test":"tap test.js"},"bugs":{"url":"https://github.com/mafintosh/through-json/issues"},"homepage":"https://github.com/mafintosh/through-json","_id":"through-json@1.0.1","_shasum":"74157f20270d56dc4719915280fcb8851318b259","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"74157f20270d56dc4719915280fcb8851318b259","tarball":"https://registry.npmjs.org/through-json/-/through-json-1.0.1.tgz","integrity":"sha512-mgr1c4Xz/h0rywGRspqadae3fNDPa0zuPhKDCaci4xDp8IDRK07tXNALUsls9hjrR1zpMl2xolF79S4DCS8Wsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU0hIoQfF9yK5qHoioByXqKq0fRiyo+I/Ej0COCHGIRwIhAMmyzZMTD9i8NoPzeO1DZ3JLNqt81D4U7hI6PUvme86N"}]}},"1.1.0":{"name":"through-json","version":"1.1.0","description":"Through stream that parses each write as a JSON message.","repository":{"type":"git","url":"git://github.com/mafintosh/through-json.git"},"keywords":["stream","streams2","through","json","parse"],"dependencies":{"through2":"^0.5.1"},"devDependencies":{"tap":"^0.4.8"},"scripts":{"test":"tap test.js"},"bugs":{"url":"https://github.com/mafintosh/through-json/issues"},"homepage":"https://github.com/mafintosh/through-json","_id":"through-json@1.1.0","_shasum":"08a53ea3fd760c6a798174c9bb2e2460e0bcccb6","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"08a53ea3fd760c6a798174c9bb2e2460e0bcccb6","tarball":"https://registry.npmjs.org/through-json/-/through-json-1.1.0.tgz","integrity":"sha512-eSj1NKfDxETjUKNTPkf3JQkQWlMkJjTNS5Ur/Src1Jn9auvbC9mMwFg7O1IjKM3WYQMyU8VvYAPeLWuE+ixEpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2Jk1nFxTlL+ecJaAATQGv5IMxdPI4Un8QftU5IsGUTAiEAg3ftPIHn4DiiNk4QR8A3eqPIh82nkeIBbRWHN9M9cbQ="}]}}},"readme":"# through-json\n\nThrough stream that parses each write as a JSON message.\n\n\tnpm install through-json\n\n[![build status](https://secure.travis-ci.org/mafintosh/through-json.png)](http://travis-ci.org/mafintosh/through-json)\n\n## Usage\n\n``` js\nvar parse = require('through-json');\n\n// parse returns a streams2 through stream\n\nvar p = parse();\n\np.on('data', function(data) {\n\tconsole.log(data.message);\n});\n\np.on('end', function() {\n\tconsole.log('no more messages');\n});\n\n// each write must be a complete JSON message\n\np.write('{\"message\":\"test\"}');\np.write('{\"message\":\"another test\"}');\np.end();\n```\n\nRunning the above program produces the following output\n\n```\ntest\nanother test\nno more messages\n```\n\n## License\n\nMIT","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-27T06:24:24.768Z","created":"2014-03-20T23:34:23.872Z","0.1.0":"2014-03-20T23:34:23.872Z","0.1.1":"2014-03-20T23:41:40.875Z","1.0.0":"2014-06-09T21:43:39.801Z","1.0.1":"2014-06-09T21:50:40.797Z","1.1.0":"2014-07-12T11:56:56.677Z"},"homepage":"https://github.com/mafintosh/through-json","keywords":["stream","streams2","through","json","parse"],"repository":{"type":"git","url":"git://github.com/mafintosh/through-json.git"},"bugs":{"url":"https://github.com/mafintosh/through-json/issues"},"readmeFilename":"README.md"}