
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
@types/lazystream
Advanced tools
TypeScript definitions for lazystream
npm install --save @types/lazystream
This package contains type definitions for lazystream (https://github.com/jpommerening/node-lazystream).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lazystream.
/// <reference types="node" />
import { Stream as NodeStream } from "node:stream";
import { PassThrough, Stream, TransformOptions } from "readable-stream";
export class Readable extends PassThrough {
/**
* @param fn The function to call to obtain the stream to read from
*/
constructor(fn: () => NodeStream | Stream);
/**
* @param fn The function to call to obtain the stream to read from
* @param options Options for the underlying {@link PassThrough} class.
* Accessible via {@link fn}
*/
constructor(fn: (options: TransformOptions) => NodeStream | Stream, options: TransformOptions);
/**
* @param fn The function to call to obtain the stream to read from
* @param options Options for the underlying {@link PassThrough} class.
* Accessible via {@link fn}, if they are passed
*/
constructor(fn: (options?: TransformOptions) => NodeStream | Stream, options?: TransformOptions);
}
export class Writable extends PassThrough {
/**
* @param fn The function to call to obtain the stream to write to
*/
constructor(fn: () => NodeStream | Stream);
/**
* @param fn The function to call to obtain the stream to write to
* @param options Options for the underlying {@link PassThrough} class.
* Accessible via {@link fn}
*/
constructor(fn: (options: TransformOptions) => NodeStream | Stream, options: TransformOptions);
/**
* @param fn The function to call to obtain the stream to write to
* @param options Options for the underlying {@link PassThrough} class.
* Accessible via {@link fn}, if they are passed
*/
constructor(fn: (options?: TransformOptions) => NodeStream | Stream, options?: TransformOptions);
}
These definitions were written by Adam Thompson-Sharpe.
FAQs
TypeScript definitions for lazystream
The npm package @types/lazystream receives a total of 0 weekly downloads. As such, @types/lazystream popularity was classified as not popular.
We found that @types/lazystream demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.