Files
lsp/node_modules/nofilter
Arnaud Nelissen 3af7ddab06 Initial commit
2021-11-17 11:25:08 +01:00
..
2021-11-17 11:25:08 +01:00
2021-11-17 11:25:08 +01:00
2021-11-17 11:25:08 +01:00
2021-11-17 11:25:08 +01:00

Build Status Coverage Status

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:

var NoFilter = require('nofilter');
nf = new NoFilter();
nf.on('finish', function() {
  console.log(nf.toString('base64'));
});
process.stdin.pipe(nf);

As a data source:

var NoFilter = require('nofilter');
nf = new NoFilter('010203', 'hex');
nf.pipe(process.stdout);

Read the API Docs.