
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
@types/stream-chain
Advanced tools
npm install --save @types/stream-chain
This package contains type definitions for stream-chain (https://github.com/uhop/stream-chain#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stream-chain.
// Type definitions for stream-chain 2.0
// Project: https://github.com/uhop/stream-chain#readme
// Definitions by: Eugene Lazutkin <https://github.com/uhop>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { Duplex, DuplexOptions, Readable, Transform, Writable } from "stream";
export = Chain;
type TransformFunction = (chunk: any, encoding?: string) => any;
type Stream = Readable | Writable | Duplex | Transform;
type StreamItem = Stream | TransformFunction;
declare class Chain extends Duplex {
constructor(fns: StreamItem[], options?: Chain.ChainOptions);
input: Stream;
output: Stream;
streams: Stream[];
}
declare namespace Chain {
interface ChainOptions extends DuplexOptions {
skipEvents?: boolean | undefined;
}
function chain(fns: StreamItem[], options?: ChainOptions): Chain;
}
These definitions were written by Eugene Lazutkin.
FAQs
TypeScript definitions for stream-chain
The npm package @types/stream-chain receives a total of 267,508 weekly downloads. As such, @types/stream-chain popularity was classified as popular.
We found that @types/stream-chain demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.