No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Latest commit bbb0437 Dec 24, 2014 @dominictarr dominictarr 1.0.1
Permalink
Failed to load latest commit information.
.gitignore first and only commit Apr 24, 2013
.travis.yml first and only commit Apr 24, 2013
LICENSE first and only commit Apr 24, 2013
README.md link to @jed's sort-stream2 Dec 24, 2014
index.js first and only commit Apr 24, 2013
package.json 1.0.1 Dec 24, 2014
test.js first and only commit Apr 24, 2013

README.md

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