项目原始demo,不改动
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
To repozytorium jest zarchiwizowane. Możesz wyświetlać pliki i je sklonować, ale nie możesz do niego przepychać zmian lub otwierać zgłoszeń/Pull Requestów.
 
 
 
 
xzx 2ec7739298 [Version] V.3.8 4 lat temu
..
.npmignore [Version] V.3.8 4 lat temu
.travis.yml [Version] V.3.8 4 lat temu
LICENSE [Version] V.3.8 4 lat temu
README.md [Version] V.3.8 4 lat temu
index.js [Version] V.3.8 4 lat temu
package.json [Version] V.3.8 4 lat temu
test.js [Version] V.3.8 4 lat temu

README.md

stream-shift

Returns the next buffer/object in a stream’s readable queue

npm install stream-shift

build status

Usage

var shift = require('stream-shift')

console.log(shift(someStream)) // first item in its buffer

Credit

Thanks @dignifiedquire for making this work on node 6

License

MIT