npm

Need private packages and team management tools?Check out npm Orgs. »

sort-stream

1.0.1 • Public • Published

sort-stream

like Array.sort but a stream.

var sort = require('sort-stream')
 
input.pipe(sort(function (a, b) {
  //comparator function, return 1, 0, or -1
  //just like Array.sort
})).pipe(output)

see also: sort-stream2 (samething, but with streams2)

License

MIT

Keywords

none

install

npm i sort-stream

Downloadsweekly downloads

612

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability