X7ROOT File Manager
Current Path:
/lib/node_modules/npm/node_modules/sorted-union-stream
lib
/
node_modules
/
npm
/
node_modules
/
sorted-union-stream
/
??
..
??
.npmignore
(13 B)
??
.travis.yml
(58 B)
??
LICENSE
(1.05 KB)
??
README.md
(1.39 KB)
??
example.js
(313 B)
??
index.js
(1.14 KB)
??
node_modules
??
package.json
(1.54 KB)
??
test.js
(2.99 KB)
Editing: example.js
var union = require('./') var from = require('from2') var sorted1 = from.obj([{key: 'a'}, {key: 'b'}, {key: 'c'}]) var sorted2 = from.obj([{key: 'b'}, {key: 'd'}]) var u = union(sorted1, sorted2) u.on('data', function (data) { console.log(data) }) u.on('end', function () { console.log('no more data') })
Upload File
Create Folder