{"name":"char-split","version":"0.1.0","description":"splits an stream on a character (e.g. \\n) and emits the strings in between","main":"index.js","scripts":{"test":"tape test/*"},"repository":{"type":"git","url":"git://github.com/marcello3d/node-char-split.git"},"keywords":["streams","split","newline","newlines"],"dependencies":{"through":"2.3.4"},"devDependencies":{"tap":"0.4.3","tape":"1.0.2"},"author":{"name":"Marcello Bastéa-Forte","url":"marcello@cellosoft.com"},"license":"zlib","readme":"char-split\n=================\n\nSplits an stream on a character (e.g. \\\\n) and emits the strings in between\n\nInstall\n-------\n\n```\nnpm install char-split\n```\n\nUsage / Examples\n----------------\n\n```js\nvar split = require('char-split')\n\nstream.pipe(\n    split()\n        .on('data', function(data) {\n            // line of text\n        })\n        .on('end', function(data) {\n            // end of stream\n        })\n        .on('error', function(error) {\n            // error in stream\n        })\n)\n```\n\nOptional arguments:\n\n```js\nsplit(character = '\\n', encoding = 'utf8')\n```\n\nNotes\n-----\n\nFor simplicity, char-split doesn't support multi-character split strings. This means splitting on \\r\\n won't work.\n\nLicense\n-------\nOpen source software under the [zlib license](LICENSE).","readmeFilename":"Readme.md","_id":"char-split@0.1.0","dist":{"shasum":"81480d558fd6d28c4ff33c5a1348ed978d467946","tarball":"http://registry-npm.ywwl.com/char-split/download/char-split-0.1.0.tgz","integrity":"sha512-oXLf2/BPjuRPR09SBaOlW8FMD0oBMcmwEe4PhMBHytm/JR0KrySXUvVivJXxAR6EpyE/GumZ7aIkQECAVL4LIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEgZhhXsc1flB74Mhdjsdr4EEyArAicLRMRieNbiN6QSAiAZEGYAC6uiQGuHeW64yEnSfABBNIPCO+PkIubC4pqZ5Q=="}],"size":2121,"noattachment":false,"key":"/char-split/-/char-split-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"marcello","email":"marcello@cellosoft.com"},"maintainers":[{"name":"marcello","email":"marcello@cellosoft.com"}],"directories":{},"publish_time":1370033541957,"_cnpm_publish_time":1370033541957,"dist-tags":{"latest":"0.2.0"}}