pull-sort
v1.0.2
Published
sort a pull-stream, necessarily, this buffers the stream and then streams the sorted stream.
Downloads
662
Readme
pull-sort
sort a pull-stream, necessarily, this buffers the stream and then streams the sorted stream.
example
var Sort = require('pull-sort')
var pull = require('pull-stream/pull')
pull(
source,
Sort(compare),
sink
)
Sort
takes an optional comparitor, the same signature as Array#sort
License
MIT