@types/buffer-to-stream
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/buffer-to-stream

Summary

This package contains type definitions for buffer-to-stream (https://github.com/creeperyang/buffer-to-stream#readme).

Details

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

index.d.ts

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

import { Readable } from "stream";

interface ToStream {
    (buffer: string | Buffer, chunkSize?: number): Readable;
}

declare const toStream: ToStream;

export = toStream;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/node

Credits

These definitions were written by tpluscode.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/buffer-to-stream

Weekly Downloads

1,618

Version

1.0.3

License

MIT

Unpacked Size

3.1 kB

Total Files

5

Last publish

Collaborators

  • types