VimUnDoe7zӊ0@װ~fi <;*7!DDDDS MJ;_S K6# 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)5_YS K66k[![build status](https://secure.travis-ci.org/mcollina/split2.png)](http://travis-ci.org/dominictarr/split)5_ YS K76`[![build status](https://secure.travis-ci.org/mcollina/split2.png)](http://travis-ci.org//split)5_ gS K96h[![build status](https://secure.travis-ci.org/mcollina/split2.png)](http://travis-ci.org/mcollina/split)5_ kS K=6kBreak up a stream and reassemble it so that each line is a chunk. matcher may be a `String`, or a `RegExp` 5_ jS 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_  BS KK6kBreak up a stream and reassemble it so that each line is a chunk. matcher may be a `String`, or a `RegExp`.5_ JS 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 K5_@VJS K)@`split` takes an optional options object on it's third argument.5_ VJS K * .pipe(split(JSON.parse))5_AVJS K *mBreak up a stream and reassemble it so that each line is a chunk. `matcher` may be a `String`, or a `RegExp`.5_VJS K -, `matcher` may be a `String`, or a `RegExp`.5_VJS K -+`matcher` may be a `String`, or a `RegExp`.5_VJS K -*matcher` may be a `String`, or a `RegExp`.5_VJS K -,´matcher` may be a `String`, or a `RegExp`.5_ VJS K  ,+`matcher` may be a `String`, or a `RegExp`.&Example, read every line in a file ... -&Example, read every line in a file ... -&Example, read every line in a file ...5_VJS K +6`split` accepts a function which transforms each line.5_ VJS K+ is directly 5_VJS K+!is directly passed as a Transform5_"VJS K+"is directly passed as a [Transform5_$VJS K+$is directly passed as a [Transform](5_ VJS K-5_! VJS K-`5_ "!VJS K-`split2`5_!#" VJS K- `split2` is totally API compatib5_"$#JVJS L -J`split2` is inspired by @dominictarr split, and it is totally API compatib5_#%$LVJS L .-5_$&% VJS L. However, 5_%'&"VJS L$."However, it is based on `through2`5_&('#v#S L/.M`split2` is inspired by @dominictarr split, and it is totally API compatible.5_')(%#v#S L3.N`split2` is inspired by [@dominictarr split, and it is totally API compatible.5_(*)'#v#S L5.P`split2` is inspired by [@dominictarr]( split, and it is totally API compatible.5_)+*G#v#S L@.o`split2` is inspired by [@dominictarr](https://github.com/dominictarr) split, and it is totally API compatible.5_*,+M#v#S LA.p`split2` is inspired by [@dominictarr](https://github.com/dominictarr) `split, and it is totally API compatible.5_+-,G#v#S LC.q`split2` is inspired by [@dominictarr](https://github.com/dominictarr) `split`, and it is totally API compatible.5_,.-O#v#S LD.r`split2` is inspired by [@dominictarr](https://github.com/dominictarr) [`split`, and it is totally API compatible.5_-/.OE&v&S LK.s`split2` is inspired by [@dominictarr](https://github.com/dominictarr) [`split`], and it is totally API compatible..5_.0/qE&v&S LM.`split2` is inspired by [@dominictarr](https://github.com/dominictarr) [`split`](https://github.com/dominictarr), and it is totally API compatible.5_/10E&v&S LO/" and it is totally API compatible.5_021pE&v&S L]/q`split2` is inspired by [@dominictarr](https://github.com/dominictarr) [`split`](https://github.com/dominictarr),5_132E&v&S Lb /,However, it is based on `through2` by @rvagg5_243#E&v&S Ld /-However, it is based on [`through2` by @rvagg5_354$QnvnS Lm //However, it is based on [`through2`]( by @rvagg /5_465CQnvnS Ln /MHowever, it is based on [`through2`](https://github.com/dominictarr by @rvagg5_5768QnvnS Lp /NHowever, it is based on [`through2`](https://github.com/dominictarr) by @rvagg5_6878QnvnS Lp /CHowever, it is based on [`through2`](https://github.com/) by @rvagg5_798=QnvnS Ls /HHowever, it is based on [`through2`](https://github.com/rvagg) by @rvagg5_8:9K$<v<S L /QHowever, it is based on [`through2`](https://github.com/rvagg/through2) by @rvagg5_9;:R$<v<S L /RHowever, it is based on [`through2`](https://github.com/rvagg/through2) by [@rvagg5_:<;S$<v<S L /SHowever, it is based on [`through2`](https://github.com/rvagg/through2) by [@rvagg]5_;=<R$<v<S L /SHowever, it is based on [`through2`](https://github.com/rvagg/through2) by [@rvagg] /5_<>=l$<v<S L /lHowever, it is based on [`through2`](https://github.com/rvagg/through2) by [@rvagg](https://github.com/rvagg5_=?>m$<v<S L /mHowever, it is based on [`through2`](https://github.com/rvagg/through2) by [@rvagg](https://github.com/rvagg)5_>@?m$<v<S L /nHowever, it is based on [`through2`](https://github.com/rvagg/through2) by [@rvagg](https://github.com/rvagg).5_?A@m$<v<S L# /mHowever, it is based on [`through2`](https://github.com/rvagg/through2) by [@rvagg](https://github.com/rvagg)5_@BA!$<v<S M&/!and it is totally API compatible.5_ACB/$<v<S M'//5_BDC/$<v<S M(../MIT5_CD''*VS MI;&' .on('error', function (err) {" //syntax errors will land here! //note, this ends the stream. })5_ JS KM6MBreak up a stream and reassemble it so that each line is a chunk. `matcher`:w" may be a `String`, or a `RegExp`.5