{"_id":"linerstream","_rev":"119932","name":"linerstream","description":"Split a readable stream by newline characters","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"time":{"modified":"2021-06-03T10:55:44.000Z","created":"2014-01-07T20:19:26.082Z","0.2.0":"2017-03-12T16:52:20.614Z","0.1.4":"2014-08-11T13:37:26.554Z","0.1.3":"2014-03-21T18:48:14.839Z","0.1.2":"2014-03-20T22:47:26.276Z","0.1.1":"2014-02-27T03:00:44.695Z","0.1.0":"2014-01-09T19:58:09.411Z","0.0.6":"2014-01-08T15:34:42.044Z","0.0.5":"2014-01-07T20:33:49.586Z","0.0.4":"2014-01-07T20:27:58.714Z","0.0.3":"2014-01-07T20:26:44.610Z","0.0.2":"2014-01-07T20:25:52.036Z","0.0.1":"2014-01-07T20:19:26.082Z"},"users":{},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"versions":{"0.2.0":{"name":"linerstream","version":"0.2.0","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","gitHead":"58a547f3d1eae70ebf54d399b18b60a4374b3c6c","_id":"linerstream@0.2.0","_shasum":"a0dad4bed7245d582b3173b22b1e3cb3c587f103","_from":".","_npmVersion":"4.4.1","_nodeVersion":"7.7.2","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"dist":{"shasum":"a0dad4bed7245d582b3173b22b1e3cb3c587f103","size":6958,"noattachment":false,"key":"/linerstream/-/linerstream-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.2.0.tgz"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/linerstream-0.2.0.tgz_1489337539987_0.9480767999775708"},"publish_time":1489337540614,"_cnpm_publish_time":1489337540614,"_hasShrinkwrap":false},"0.1.4":{"name":"linerstream","version":"0.1.4","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","gitHead":"fd36bbb73f982b0ff3b94a43d4f9dec9968fe010","_id":"linerstream@0.1.4","_shasum":"5de7bf69faa2b0f9d85e8332099b70e419a845d5","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"dist":{"shasum":"5de7bf69faa2b0f9d85e8332099b70e419a845d5","size":6799,"noattachment":false,"key":"/linerstream/-/linerstream-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.1.4.tgz"},"publish_time":1407764246554,"_cnpm_publish_time":1407764246554,"_hasShrinkwrap":false},"0.1.3":{"name":"linerstream","version":"0.1.3","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","_id":"linerstream@0.1.3","dist":{"shasum":"2b12788a3f3dca56561c63c5b352cb7aefa0b587","size":6803,"noattachment":false,"key":"/linerstream/-/linerstream-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.1.3.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1395427694839,"_cnpm_publish_time":1395427694839,"_hasShrinkwrap":false},"0.1.2":{"name":"linerstream","version":"0.1.2","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","_id":"linerstream@0.1.2","dist":{"shasum":"51f77eaddf6ef57a059e21ba47549b917de918bf","size":6804,"noattachment":false,"key":"/linerstream/-/linerstream-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1395355646276,"_cnpm_publish_time":1395355646276,"_hasShrinkwrap":false},"0.1.1":{"name":"linerstream","version":"0.1.1","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","_id":"linerstream@0.1.1","dist":{"shasum":"f84cbd4eab63b967eb77ed11eac89d34bd0a6fbf","size":6804,"noattachment":false,"key":"/linerstream/-/linerstream-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1393470044695,"_cnpm_publish_time":1393470044695,"_hasShrinkwrap":false},"0.1.0":{"name":"linerstream","version":"0.1.0","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{"chai":"~1.8.1","sinon":"~1.7.3"},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","readmeFilename":"README.md","_id":"linerstream@0.1.0","dist":{"shasum":"ef8620e21dba07259ec3b2d069b06139f83ca1f7","size":6807,"noattachment":false,"key":"/linerstream/-/linerstream-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1389297489411,"_cnpm_publish_time":1389297489411,"_hasShrinkwrap":false},"0.0.6":{"name":"linerstream","version":"0.0.6","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{"chai":"~1.8.1","sinon":"~1.7.3"},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","readmeFilename":"README.md","_id":"linerstream@0.0.6","dist":{"shasum":"b73287d1387257dbb07771bd05beb35da5fcf972","size":6752,"noattachment":false,"key":"/linerstream/-/linerstream-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.0.6.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1389195282044,"_cnpm_publish_time":1389195282044,"_hasShrinkwrap":false},"0.0.5":{"name":"linerstream","version":"0.0.5","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{"chai":"~1.8.1","sinon":"~1.7.3"},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","readmeFilename":"README.md","_id":"linerstream@0.0.5","dist":{"shasum":"c096386b3192d25af7baddf6f7a5557d96d05109","size":4777,"noattachment":false,"key":"/linerstream/-/linerstream-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.0.5.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1389126829586,"_cnpm_publish_time":1389126829586,"_hasShrinkwrap":false},"0.0.4":{"name":"linerstream","version":"0.0.4","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"dependencies":{"chai":"~1.8.1","sinon":"~1.7.3"},"repository":{"type":"git","url":"git://github.com/nisaacson/linerstream.git"},"keywords":["stream","line","split","newline"],"bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"homepage":"https://github.com/nisaacson/linerstream","readmeFilename":"README.md","_id":"linerstream@0.0.4","dist":{"shasum":"17a84939e1f81031671c9753c0a7d8e6ca0095af","size":4776,"noattachment":false,"key":"/linerstream/-/linerstream-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.0.4.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1389126478714,"_cnpm_publish_time":1389126478714,"_hasShrinkwrap":false},"0.0.3":{"name":"linerstream","version":"0.0.3","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"readmeFilename":"README.md","_id":"linerstream@0.0.3","dist":{"shasum":"8db99baf9a12b2e232ae8c96d97b306ebf9050fa","size":4686,"noattachment":false,"key":"/linerstream/-/linerstream-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1389126404610,"_cnpm_publish_time":1389126404610,"_hasShrinkwrap":false},"0.0.2":{"name":"linerstream","version":"0.0.2","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"readmeFilename":"README.md","_id":"linerstream@0.0.2","dist":{"shasum":"1437129295e80dafd70a304cd33c373446f0d36b","size":4687,"noattachment":false,"key":"/linerstream/-/linerstream-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1389126352036,"_cnpm_publish_time":1389126352036,"_hasShrinkwrap":false},"0.0.1":{"name":"linerstream","version":"0.0.1","description":"Split a readable stream by newline characters","main":"index.js","directories":{"test":"test"},"scripts":{"test":"make test"},"author":{"name":"Noah Issaacson","email":"noah+npmjs@nisaacson.com","url":"https://github.com/nisaacson"},"license":"ISC","devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","sinon":"~1.7.3"},"readmeFilename":"README.md","_id":"linerstream@0.0.1","dist":{"shasum":"365750f5049b5b240ccf9f18c41da0789ea6e235","size":4529,"noattachment":false,"key":"/linerstream/-/linerstream-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/linerstream/download/linerstream-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"},"maintainers":[{"name":"apriendeau","email":"austin@apriendeau.com"},{"name":"nisaacson","email":"noah+npmjs@nisaacson.com"}],"publish_time":1389125966082,"_cnpm_publish_time":1389125966082,"_hasShrinkwrap":false}},"readme":"# linerstream\n\nSplit a readable stream by newline characters\n\n[![NPM](https://nodei.co/npm/linerstream.png)](https://nodei.co/npm/linerstream/)\n\n[![Build Status](https://travis-ci.org/nisaacson/linerstream.png)](https://travis-ci.org/nisaacson/linerstream)\n[![Dependency Status](https://david-dm.org/nisaacson/linerstream/status.png)](https://david-dm.org/nisaacson/linerstream)\n[![Code Climate](https://codeclimate.com/github/nisaacson/linerstream.png)](https://codeclimate.com/github/nisaacson/linerstream)\n\n# Installation\n```bash\nnpm install -S linerstream\n```\n\n# Usage\n\nCreate an instance of linestream and pipe a readable stream into that instance\n\n```javascript\nvar Linerstream = require('linerstream')\n// splitter is an instance of require('stream').Transform\nvar opts = {\n  highWaterMark: 2\n}\nvar splitter = new Linerstream(opts) // opts is optional\n\nvar readStream = fs.createReadStream('/file/with/line/breaks.txt')\nvar lineByLineStream = readStream.pipe(splitter)\nlineByLineStream.on('data', function(chunk) {\n  console.dir(chunk)  // no line breaks here :)\n})\n```\n\n\n## Override EOL\n\nIf you don't want to use the OS default `EOL` character, you can ovverride it when creating the stream\n\n```\nvar stream2 = new LinerStream({EOL: '\\n'})\n//force windows EOL\nvar stream3 = new LinerStream({EOL: '\\r\\n'})\n```\n","_attachments":{},"homepage":"https://github.com/nisaacson/linerstream","bugs":{"url":"https://github.com/nisaacson/linerstream/issues"},"license":"ISC"}