ReadableBase.prototype.drop - Node documentation
method ReadableBase.prototype.drop

Usage in Deno

import { ReadableBase } from "node:stream";
ReadableBase.prototype.drop(
limit: number,
options?: Pick<ArrayOptions, "signal">,
): Readable

This method returns a new stream with the first limit chunks dropped from the start.

Parameters

limit: number

the number of chunks to drop from the readable.

optional
options: Pick<ArrayOptions, "signal">

Return Type

Readable

a stream with limit chunks dropped from the start.