{"_id":"line-stream","_rev":"13-5221587e2723737089c9d69632c41e0b","name":"line-stream","description":"split/binary-split but lines contain byte offset in the source stream and gives access to last line fragment","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"line-stream","version":"0.0.0","description":"simple line parsing string emitting stream. tired of implementing line delimited streams ;)","main":"index.js","scripts":{"test":"tap test/"},"repository":{"type":"git","url":"git://github.com/soldair/node-line-stream.git"},"keywords":["line","stream","string","easy"],"author":{"name":"Ryan day"},"license":"BSD","gitHead":"599d639b9fad64ba7bb097bc1cda11f7ca3edde0","dependencies":{"through":"~2.2.0"},"devDependencies":{"tap":"~0.4.0"},"_id":"line-stream@0.0.0","dist":{"shasum":"888b7cc7951c6a05ce4d696dd1e6b8262371bb45","tarball":"https://registry.npmjs.org/line-stream/-/line-stream-0.0.0.tgz","integrity":"sha512-Sx68INB+sWLEHnpTyMHsqJV8hrnf9ZbyRASek5MInROlvYkZjnWLBMsFgIE57zG3SY1tpJhbJucpbrhNU3FIDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPxOAIJj7Eajrobork450NsBePhyuscq/hmjFjbXYLKAiEAuFayWbykT64qdEP4yYsxvwji0U6t+nFNxas1r/lqdLw="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"soldair","email":"soldair@gmail.com"},"maintainers":[{"name":"soldair","email":"soldair@gmail.com"}]},"0.0.1":{"name":"line-stream","version":"0.0.1","description":"simple line parsing string emitting stream. tired of implementing line delimited streams ;)","main":"index.js","scripts":{"test":"tap test/"},"repository":{"type":"git","url":"git://github.com/soldair/node-line-stream.git"},"keywords":["line","stream","string","easy"],"author":{"name":"Ryan day"},"license":"BSD","gitHead":"599d639b9fad64ba7bb097bc1cda11f7ca3edde0","dependencies":{"through":"~2.2.0"},"devDependencies":{"tap":"~0.4.0"},"_id":"line-stream@0.0.1","dist":{"shasum":"592c50081ec9d171292137e0e2b32e7979e54596","tarball":"https://registry.npmjs.org/line-stream/-/line-stream-0.0.1.tgz","integrity":"sha512-1Tm4iw1eJEGtk+RVFY4Bk1D5SpqtvUQT9k5CZBM98LB/Pagi6OP1F10/YWytYEVylweg3C1gopp+vx7YBkKqaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdBngWb8oMTi4E4KNxOJpxad9AH8KLVpi8b2EG94Pu5gIhAMu2HasTl0XqK/pVA7cDvzAw4FO7G9C2ZbRpZb/LLoBF"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"soldair","email":"soldair@gmail.com"},"maintainers":[{"name":"soldair","email":"soldair@gmail.com"}]},"0.0.2":{"name":"line-stream","version":"0.0.2","description":"simple line parsing string emitting stream. tired of implementing line delimited streams ;)","main":"index.js","scripts":{"test":"tap test/"},"repository":{"type":"git","url":"git://github.com/soldair/node-line-stream.git"},"keywords":["line","stream","string","easy"],"author":{"name":"Ryan day"},"license":"BSD","gitHead":"599d639b9fad64ba7bb097bc1cda11f7ca3edde0","dependencies":{"through":"~2.2.0"},"devDependencies":{"tap":"~0.4.0"},"_id":"line-stream@0.0.2","dist":{"shasum":"a1d0bbc7c781559c34db09f70e0a4b1e7962a4bd","tarball":"https://registry.npmjs.org/line-stream/-/line-stream-0.0.2.tgz","integrity":"sha512-0mJY3X8OuM6vK+uYU44b03/CRfoVgf5W5cjGqDMO1CTnN4thWNxvresk62tEyl0qPlpyP/GgfLEpPT13L0/O4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDU9mKK2iI4W6HnP8NdQvHRcWCSE3AjtoDrECxgwWSnWAiEAipghBG+HiyuRmC+cW4yI4yxlJ0iGrkp6AaBdNR9+1ak="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"soldair","email":"soldair@gmail.com"},"maintainers":[{"name":"soldair","email":"soldair@gmail.com"}]},"0.0.3":{"name":"line-stream","version":"0.0.3","description":"simple line parsing string emitting stream. tired of implementing line delimited streams ;)","main":"index.js","scripts":{"test":"tap test/"},"repository":{"type":"git","url":"git://github.com/soldair/node-line-stream.git"},"keywords":["line","stream","string","easy"],"author":{"name":"Ryan day"},"license":"BSD","gitHead":"599d639b9fad64ba7bb097bc1cda11f7ca3edde0","dependencies":{"through":"~2.3.4"},"devDependencies":{"tap":"~0.4.0"},"bugs":{"url":"https://github.com/soldair/node-line-stream/issues"},"_id":"line-stream@0.0.3","dist":{"shasum":"6e771ce8e1c7248623b3e53d8c4221d6802b2284","tarball":"https://registry.npmjs.org/line-stream/-/line-stream-0.0.3.tgz","integrity":"sha512-XVyFlqZOeGOXGUjh3QlmxhR33suWamdInOW5sKNm/PZ/LiuBT3ii8+PObCAObVZxmL1Bkf9iThZCciWIzx3YTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAK8pFeC1AonTHy9nTqTFkthbefR3xwFY83PCYlQT5xvAiEAvH1vBnjabBC5IANZ2sBS2ocdhWaPy2baa86kbCXnwUw="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"soldair","email":"soldair@gmail.com"},"maintainers":[{"name":"soldair","email":"soldair@gmail.com"}]},"1.0.0":{"name":"line-stream","version":"1.0.0","description":"split/binary-split but lines contain byte offset in the source stream and gives access to last line fragment","main":"index.js","scripts":{"test":"nyc tape test/*.js"},"repository":{"type":"git","url":"git://github.com/soldair/node-line-stream.git"},"keywords":["line","stream","string","easy"],"author":{"name":"Ryan day"},"license":"ISC","dependencies":{"through2":"^2.0.0"},"devDependencies":{"nyc":"^5.0.1","tap":"~0.4.0","tape":"^4.2.2"},"gitHead":"a28c17cfaa171fe0478270bc7e1e284c3866d10b","bugs":{"url":"https://github.com/soldair/node-line-stream/issues"},"homepage":"https://github.com/soldair/node-line-stream#readme","_id":"line-stream@1.0.0","_shasum":"d3e3853174803fd31369c0e4366cb0808b42ade7","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.3","_npmUser":{"name":"soldair","email":"soldair@gmail.com"},"dist":{"shasum":"d3e3853174803fd31369c0e4366cb0808b42ade7","tarball":"https://registry.npmjs.org/line-stream/-/line-stream-1.0.0.tgz","integrity":"sha512-I/K9N1IO2XWPIOWSN1JhLkVvmtys1Dw92aB3/j4T6XaK8stSlBShd94QpQEBtjPzUe82Oo/q8Ko1F3vYRIDyzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAYJX3aUJf/bOohUJMQZN6oNKSQG7oHum9bfmYO0sAWAiEA6Ck8mlGr7vi0baKjdGvcSdOnxWlnoAhosnybmUYAhD8="}]},"maintainers":[{"name":"soldair","email":"soldair@gmail.com"}]}},"readme":"line-stream\n===========\n\nsplit/binary-split but lines contain byte offset in the source stream and gives access to last line fragment\n\n- this module leaves the delimiter on the resulting buffer.\n- all values are cast to buffers and emitted as buffers.\n- this module is just as fast as binary-split.\n\n\n```js\nvar linestream = require('line-stream');\nvar s = linestream();\n\ns.on('data',function(line){\n  console.log('line of data ',line+'');\n  console.log('i come from ',line.start,'byte offset in the file')\n})\n\nfs.createReadStream(somefile).pipe(s);\n\n```\n\n\napi\n---\n\n### var linestream = require('line-stream');\n  - transform stream (through2)\n\n### linestream(delimiter) || linestream({delimiter:os.EOL,start:0})\n  - returns transform stream.\n  - options\n    - delimiter, defaults to os.EOL but can be anything\n    - start, defaults to 0. this is an offset applied to the start property of each line's \"line.start\" property. just helpful.\n\n### stream\n  - **properties**\n    - stream.fragment, at any time this property contains the fragment of the last incomplete line or an empty buffer.\n  - **events**, \n    in addition to standard stream events this module also emits\n    - fragment, \n     emits before end if there is a line fragment in the fragment property.\n     \n\n\n","maintainers":[{"name":"soldair","email":"soldair@gmail.com"}],"time":{"modified":"2022-06-19T12:29:08.118Z","created":"2013-02-17T01:24:13.446Z","0.0.0":"2013-02-17T01:24:14.288Z","0.0.1":"2013-05-06T20:27:57.070Z","0.0.2":"2013-05-06T20:33:54.981Z","0.0.3":"2013-06-21T23:30:40.641Z","1.0.0":"2015-12-16T15:08:22.581Z"},"author":{"name":"Ryan day"},"repository":{"type":"git","url":"git://github.com/soldair/node-line-stream.git"},"homepage":"https://github.com/soldair/node-line-stream#readme","keywords":["line","stream","string","easy"],"bugs":{"url":"https://github.com/soldair/node-line-stream/issues"},"license":"ISC","readmeFilename":"README.md","users":{"binarymax":true}}