### Use NoFilter as a data source Source: https://github.com/hildjj/nofilter/blob/main/README.md Creates a NoFilter instance initialized with hex data '010203' and pipes it to stdout. ```javascript import {NoFilter} from 'nofilter'; const nf = new NoFilter('010203', 'hex'); nf.pipe(process.stdout); ``` -------------------------------- ### Use NoFilter as a data sink Source: https://github.com/hildjj/nofilter/blob/main/README.md Creates a NoFilter instance and pipes stdin into it, then logs the accumulated data as a base64 string when the stream finishes. ```javascript import {NoFilter} from 'nofilter'; const nf = new NoFilter(); nf.on('finish', () => { console.log(nf.toString('base64')); }); process.stdin.pipe(nf); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.