@types/binary-split
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/binary-split

Weekly Downloads

63

Version

1.0.3

License

MIT

Unpacked Size

3.4 kB

Total Files

5

Last publish

Collaborators

  • types