{"name":"nofilter","version":"4.0.0","description":"Read and write a growable buffer as a stream","main":"lib/index.js","type":"module","types":"types/index.d.ts","scripts":{"clean":"rimraf coverage doc **/.DS_Store","lint":"eslint . --ext js","test":"c8 mocha test/*.js","docs":"typedoc lib/index.js","types":"tsc","build":"npm run clean && npm run types && npm run docs && npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/hildjj/nofilter.git"},"keywords":["buffer","stream","duplex","transform","#nofilter","no-filter","concat"],"author":{"name":"Joe Hildebrand","email":"joe-github@cursive.net"},"license":"MIT","bugs":{"url":"https://github.com/hildjj/nofilter/issues"},"contributors":[{"name":"Jimmy Wärting","email":"jimmy@warting.se","url":"https://jimmy.warting.se"}],"homepage":"https://github.com/hildjj/nofilter#readme","devDependencies":{"@cto.af/eslint-config":"^1.1.2","@types/node":"^20.1.4","c8":"^7.13.0","chai":"^4.3.7","chai-as-promised":"^7.1.1","eslint":"^8.40.0","eslint-plugin-chai-friendly":"^0.7.2","eslint-plugin-jsdoc":"^44.2.3","eslint-plugin-node":"^11.1.0","mocha":"^10.2.0","nyc":"^15.1.0","p-event":"^5.0.1","rimraf":"5.0.0","typedoc":"^0.24.7","typescript":"^5.0.4"},"engines":{"node":">=16"},"gitHead":"34abd41faa041e5aad06e0d65f751f8ff84d60c3","_id":"nofilter@4.0.0","_nodeVersion":"20.1.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-ROvBECMF8ZXsfg0p7XgMMqVBs6AR4Z2gpgHpf0MRDvUk07foiAOmTXUvNYgVI5yNUdMoH9Ok/JuxVDFnF6q98g==","shasum":"9cb859a4e1ed1de3054291bff0c78d30942ba61e","tarball":"http://registry-npm.ywwl.com/nofilter/download/nofilter-4.0.0.tgz","fileCount":6,"unpackedSize":53268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjmG7KFc2/WtghZwZJ1u0Om7poSXm+ypRirBlJFDEKUgIgeoBh8nfXSULAe7n2vShXt1Epwl6IUY/Xz5VislG8vTk="}],"size":11907,"noattachment":false,"key":"/nofilter/-/nofilter-4.0.0.tgz"},"_npmUser":{"name":"hildjj","email":"joe-github@cursive.net"},"directories":{},"maintainers":[{"name":"hildjj","email":"joe-github@cursive.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nofilter_4.0.0_1684011298502_0.8331956672474594"},"_hasShrinkwrap":false,"readme":"[![Tests](https://github.com/hildjj/nofilter/actions/workflows/node.js.yml/badge.svg)](https://github.com/hildjj/nofilter/actions/workflows/node.js.yml)\n[![coverage](https://codecov.io/gh/hildjj/nofilter/branch/main/graph/badge.svg?token=7BdD02c03C)](https://codecov.io/gh/hildjj/nofilter)\n\n# NoFilter\n\nA node.js package to read and write a stream of data into or out of what looks\nlike a growable [Buffer](https://nodejs.org/api/buffer.html).\n\nI kept needing this, and none of the existing packages seemed to have enough\nfeatures, test coverage, etc.\n\n# Examples\n\nAs a data sink:\n```js\nimport { NoFilter } from 'nofilter'\n\nconst nf = new NoFilter()\nnf.on('finish', () => {\n  console.log(nf.toString('base64'))\n})\nprocess.stdin.pipe(nf)\n```\n\nAs a data source:\n```js\nimport { NoFilter } from 'nofilter'\nconst nf = new NoFilter('010203', 'hex')\nnf.pipe(process.stdout)\n```\n\nRead the [API Docs](http://hildjj.github.io/nofilter/).\n","publish_time":1684011298694,"_cnpm_publish_time":1684011298694,"dist-tags":{"latest":"7.0.0"}}