Package to replace
stream-shift
Suggested replacement(s)
Async Iteration
for await (const chunk of stream) {
// ...
}
Standard Consumption (Removes first item from buffer)
const chunk = sream.read()
Safe Peeking (Inspects without removing)
const firstBufferedItem = someStream.readableBuffer?.head?.data
Manifest type
micro-utility (tiny utility replaceable with native code or removal)
Package to replace
stream-shiftSuggested replacement(s)
Async Iteration
Standard Consumption (Removes first item from buffer)
Safe Peeking (Inspects without removing)
Manifest type
micro-utility (tiny utility replaceable with native code or removal)