{"_id":"char-split","_rev":"7-981ec51715d813132fa90ac0c81d24d4","name":"char-split","description":"splits an stream on a character (e.g. \\n) and emits the strings in between","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"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":"https://registry.npmjs.org/char-split/-/char-split-0.1.0.tgz","integrity":"sha512-oXLf2/BPjuRPR09SBaOlW8FMD0oBMcmwEe4PhMBHytm/JR0KrySXUvVivJXxAR6EpyE/GumZ7aIkQECAVL4LIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEgZhhXsc1flB74Mhdjsdr4EEyArAicLRMRieNbiN6QSAiAZEGYAC6uiQGuHeW64yEnSfABBNIPCO+PkIubC4pqZ5Q=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"marcello","email":"marcello@cellosoft.com"},"maintainers":[{"name":"marcello","email":"marcello@cellosoft.com"}]},"0.2.0":{"name":"char-split","version":"0.2.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 a string 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')\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.2.0","dist":{"shasum":"8755eda641e5db277dd0f509b517c827e50a8edf","tarball":"https://registry.npmjs.org/char-split/-/char-split-0.2.0.tgz","integrity":"sha512-FhACZPVF9MxEsk5gkJbVM3Z65bAaPOwJHJYMjvejuQM+LwNCF8iM971IjFIe/pzAK//Ouq7AxuQa4N0yXEmi/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZ0YYEKlK0AnJ+jAZ8Wr+51Xt5L7m7V/jXd1SDa0TpCAiEApkskAGZnxHZ4ypfyppW84OyLswEwDema2d+UPOF8nVM="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"marcello","email":"marcello@cellosoft.com"},"maintainers":[{"name":"marcello","email":"marcello@cellosoft.com"}]}},"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).","maintainers":[{"name":"marcello","email":"marcello@cellosoft.com"}],"time":{"modified":"2022-06-13T05:53:28.934Z","created":"2013-05-31T20:52:20.518Z","0.1.0":"2013-05-31T20:52:21.957Z","0.2.0":"2013-07-02T23:33:16.860Z"},"author":{"name":"Marcello Bastéa-Forte","url":"marcello@cellosoft.com"},"repository":{"type":"git","url":"git://github.com/marcello3d/node-char-split.git"}}