pull-split

split ported to pull-stream style

pull-split

split ported to pull-stream style.

var pull = require('pull-stream')
var split = require('pull-split')
 
pull(
  textStream
  split(),
  output
)

if the textStream is buffers, and contain UTF8 (it probably will if you have german or chinese friends, etc) then you MUST use this with pull-utf8-decoder

var pull = require('pull-stream')
var split = require('pull-split')
var utf8 = require('pull-utf8-decoder')
 
pull(
  textStream
  utf8(),
  split(),
  output
)

MIT