pull-sort
sort a pull-stream, necessarily, this buffers the stream and then streams the sorted stream.
Last updated 6 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install pull-sort 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.2                                ...           latest (6 years ago)

3 Versions

  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (1)
Dependents (3)

© 2010 - cnpmjs.org x YWFE | Home | YWFE