Package Exports
- sort-stream
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sort-stream) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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