2.0.1 • Published 10 months ago

null-writable v2.0.1

Weekly downloads
268
License
MIT
Repository
github
Last release
10 months ago

null-writable

GitHub CI Trunk Check 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 >= 16.

Installation

npm install null-writable

Additionally for Typescript:

npm install -D @types/node

Usage

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

constructor

Create a new NullWritable instance.

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

License

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

MIT

2.0.1

10 months ago

2.0.0

1 year ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

7 years ago

0.3.0

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago