UNPKG

@types/binary-split

Version:
33 lines (24 loc) 1.05 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split/index.d.ts) ````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](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Krisztián Balla](https://github.com/krisztianb).