mock-streams
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Mock Streams

A package that allows you to test other packages that use readable and or writeable streams. Provides typings for typescript.

Installation

npm i -D mock-streams # mock-streams NOT mock-stream

Example Usage

import { MockReadableStream, MockWriteableStream } from "mock-streams";

const input = new MockReadableStream();
const output = new MockWriteableStream();

Building from source

npm i
npm run build

Readme

Keywords

none

Package Sidebar

Install

npm i mock-streams

Weekly Downloads

7

Version

1.0.2

License

ISC

Unpacked Size

7.95 kB

Total Files

7

Last publish

Collaborators

  • drew-y