pull-sort

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i pull-sort

Weekly Downloads

167

Version

1.0.2

License

MIT

Unpacked Size

3 kB

Total Files

6

Last publish

Collaborators

  • dominictarr