1.0.5 • Published 5 years ago

null-writable v1.0.5

Weekly downloads
268
License
MIT
Repository
github
Last release
5 years ago

null-writable

Build Status Coverage Status npm

This module provides a Writable which accepts all data and do nothing. It is like /dev/null for Node.js streams.

It implements _writev method so it is fast enough for buffered operations.

Requirements

This module requires Node >= 6.

Installation

npm install null-writable

Additionally for Typescript:

npm install -D @types/node

Usage

const {NullWritable} = require("null-writable")

Typescript:

import NullWritable from "null-writable"
// or
import {NullWritable} from "null-writable"

constructor

const stream = new NullWritable(options)

Create new NullWritable instance.

Options are the same as for Writable constructor, like ie. highWaterMark.

License

Copyright (c) 2018-2019 Piotr Roszatycki piotr.roszatycki@gmail.com

MIT

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago

0.3.0

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago