Installation
npm install --save @types/binary-split
Summary
This package contains type definitions for binary-split (https://github.com/maxogden/binary-split#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split.
index.d.ts
/// <reference types="node" />
import { Transform } from "stream";
export = BinarySplit;
/**
* Split streams of binary data.
* @param splitOn The matcher for the splitting points in the stream. Default: os.EOL
*/
declare function BinarySplit(
splitOn?: string | Buffer | ArrayBuffer | SharedArrayBuffer | number[] | BigInt[] | Uint8Array | object,
): Transform;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: @types/node
Credits
These definitions were written by Krisztián Balla.