Skip to documentation

package

@stackline/types-concat-stream 1.0.2 — installation and API

TypeScript definitions for concat-stream

Install @stackline/types-concat-stream

npm install @stackline/[email protected]

Package version: 1.0.2. Metadata verified: 2026-11-12. This is separate from the framework version and demonstration runtime.

Node.js requirement
{}
Accepted peer dependencies (declared ranges)
{}

Tested environments are described in the versioned README and linked source checks. A declared peer range is not evidence that every version in it was tested.

Versioned reference

This reference comes from the published @stackline/[email protected] README. Its upstream attribution and license remain with the source. Benchmark and security statements describe the cited tests and advisories, not a guarantee for every application.

@stackline/types-concat-stream

TypeScript definitions for concat-stream.

Documentation | npm | Issues | Repository

Current package version: 1.0.2


Why this package?

@stackline/types-concat-stream is the Stackline-maintained distribution of @types/[email protected]. It is an independent continuation of @types/concat-stream; original authors and licenses remain credited below.

Compatibility

Item Value
Package @stackline/[email protected]
API target @types/[email protected]
Supported Node.js See supported framework requirements
License MIT
Types index.d.ts
Runtime dependencies @types/node

Installation

npm install --save-dev @stackline/types-concat-stream

Preserve existing imports and plugin resolution with an npm alias:

npm install --save-dev @types/concat-stream@npm:@stackline/types-concat-stream

Use the original @types/* alias for automatic TypeScript type discovery and existing compilerOptions.types settings. A scoped-only installation does not automatically expose the original type-package name.

Usage and API reference

Installation

npm install --save @stackline/types-concat-stream

Summary

This package contains type definitions for concat-stream (https://github.com/maxogden/concat-stream).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/concat-stream.

index.d.ts

/// <reference types="node" />

import { Writable } from "stream";

declare function concat(cb: (buf: Buffer) => void): Writable;
declare function concat(opts: { encoding: "buffer" | undefined } | {}, cb: (buf: Buffer) => void): Writable;
declare function concat(opts: { encoding: "string" }, cb: (buf: string) => void): Writable;
declare function concat(opts: { encoding: "array" }, cb: (buf: bigint[]) => void): Writable;
declare function concat(opts: { encoding: "uint8array" | "u8" | "uint8" }, cb: (buf: Uint8Array) => void): Writable;
declare function concat(opts: { encoding: "object" }, cb: (buf: object[]) => void): Writable;

export = concat;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Joey Marianer.

Credits and original authors

Original copyright, license notices and contributor acknowledgements remain part of this distribution. Stackline maintenance does not replace authorship of the original work.

License

MIT. See the license and notice files in the repository.

Use this repository's issue tracker for reproducible bugs and feature requests. Join r/Stackline for examples, usage questions and release discussions.