2.0.1 • Published 1 year ago
null-writable v2.0.1
null-writable
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-writableAdditionally for Typescript:
npm install -D @types/nodeUsage
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