Files
notes/node_modules/split2/.README.md.un~
T

10 lines
33 KiB
Plaintext
Raw Normal View History

2017-03-09 13:16:08 -05:00
VimŸUnDoåe7…z²ôÓŠ0@×°ë~ÑåófiÜ
§§š<;*7!DDDDS MJ;ÿÿÿÿS Kõ6# Split (matcher)5.ÿÿÿÿS K#õ6m[![build status](https://secure.travis-ci.org/dominictarr/split.png)](http://travis-ci.org/dominictarr/split)5.ÿÿÿÿS K#õ6b[![build status](https://secure.travis-ci.org//split.png)](http://travis-ci.org/dominictarr/split)5<ÿÿÿÿS K'õ6j[![build status](https://secure.travis-ci.org/mcollina/split.png)](http://travis-ci.org/dominictarr/split)5ÿÿÿÿS K*õ6# Split2 (matcher)5ÿÿÿÿS K,õ6# Split2(matcher)5YÿÿÿÿS K6õ6k[![build status](https://secure.travis-ci.org/mcollina/split2.png)](http://travis-ci.org/dominictarr/split)5 YÿÿÿÿS K7õ6`[![build status](https://secure.travis-ci.org/mcollina/split2.png)](http://travis-ci.org//split)5
gÿÿÿÿS K9õ6h[![build status](https://secure.travis-ci.org/mcollina/split2.png)](http://travis-ci.org/mcollina/split)5
kÿÿÿÿS K=õ6kBreak up a stream and reassemble it so that each line is a chunk. matcher may be a `String`, or a `RegExp` 5
jÿÿÿÿS K@õ6lBreak up a stream and reassemble it so that each line is a chunk. matcher may be a `String`, or a `RegExp` .5
ÿÿÿÿS KCõ
6 .pipe(split())5 
BÿÿÿÿS KKõ6kBreak up a stream and reassemble it so that each line is a chunk. matcher may be a `String`, or a `RegExp`.5
JÿÿÿÿS KP
õ6lBreak up a stream and reassemble it so that each line is a chunk. `matcher may be a `String`, or a `RegExp`.5ÿÿÿÿ"VJS KŒõ ``` js! split(matcher, mapper, options)```Valid options:N* maxLength - The maximum buffer length without seeing a newline or `matcher`,E if a single line exceeds this, the split stream will emit an error.``` js* split(JSON.parse, null, { maxLength: 2})```5ÿÿÿÿVJS KŒõ5@ÿÿÿÿVJS KŽõ)@`split` takes an optional options object on it's third argument.5