Skip to content

drew-y/mock-streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Mock nodejs readable and writeable streams

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors