Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hildjj/nofilter
A node.js package to read and write a stream of data into or out of what looks like a growable Buffer
https://github.com/hildjj/nofilter
Last synced: 19 days ago
JSON representation
A node.js package to read and write a stream of data into or out of what looks like a growable Buffer
- Host: GitHub
- URL: https://github.com/hildjj/nofilter
- Owner: hildjj
- License: mit
- Created: 2015-10-07T21:46:52.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T15:46:27.000Z (over 1 year ago)
- Last Synced: 2024-05-02T00:07:01.518Z (7 months ago)
- Language: JavaScript
- Size: 2.04 MB
- Stars: 1
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
[![Tests](https://github.com/hildjj/nofilter/actions/workflows/node.js.yml/badge.svg)](https://github.com/hildjj/nofilter/actions/workflows/node.js.yml)
[![coverage](https://codecov.io/gh/hildjj/nofilter/branch/main/graph/badge.svg?token=7BdD02c03C)](https://codecov.io/gh/hildjj/nofilter)# NoFilter
A node.js package to read and write a stream of data into or out of what looks
like a growable [Buffer](https://nodejs.org/api/buffer.html).I kept needing this, and none of the existing packages seemed to have enough
features, test coverage, etc.# Examples
As a data sink:
```js
import {NoFilter} from 'nofilter';const nf = new NoFilter();
nf.on('finish', () => {
console.log(nf.toString('base64'));
});
process.stdin.pipe(nf);
```As a data source:
```js
import {NoFilter} from 'nofilter';
const nf = new NoFilter('010203', 'hex');
nf.pipe(process.stdout);
```Read the [API Docs](http://hildjj.github.io/nofilter/).