nofilter

A node.js package to read and write a stream of data into or out of what looks like a growable Buffer

MIT License

Downloads
2.2M
Stars
1
Committers
2

NoFilter

A node.js package to read and write a stream of data into or out of what looks like a growable Buffer.

I kept needing this, and none of the existing packages seemed to have enough features, test coverage, etc.

Examples

As a data sink:

import {NoFilter} from 'nofilter';

const nf = new NoFilter();
nf.on('finish', () => {
  console.log(nf.toString('base64'));
});
process.stdin.pipe(nf);

As a data source:

import {NoFilter} from 'nofilter';
const nf = new NoFilter('010203', 'hex');
nf.pipe(process.stdout);

Read the API Docs.

Package Rankings
Top 4.36% on Npmjs.org
Top 34.2% on Repo1.maven.org
Badges
Extracted from project README
Tests coverage