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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2,566
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2,566
  • 1.0.1
    43
  • 1.0.0
    6

Package Sidebar

Install

npm i pull-sort

Weekly Downloads

259

Version

1.0.2

License

MIT

Unpacked Size

3 kB

Total Files

6

Last publish

Collaborators

  • dominictarr