Skip to content

[Replacement]: stream-shift #871

Description

@gameroman

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedUsed to signal if a suggested replacement has been accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions