{"name":"nofilter","version":"4.0.2","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":"^2.0.3","@types/node":"^20.3.2","c8":"^8.0.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":"^46.4.2","eslint-plugin-n":"16.0.1","mocha":"^10.2.0","nyc":"^15.1.0","p-event":"^6.0.0","rimraf":"5.0.1","typedoc":"^0.24.8","typescript":"^5.1.6"},"pnpm":{"overrides":{"semver":">=7.5.3","word-wrap":"npm:@aashutoshrathi/word-wrap"}},"overrides":{"semver":">=7.5.3","word-wrap":"npm:@aashutoshrathi/word-wrap"},"engines":{"node":">=16"},"gitHead":"88c6f956842a3220a9b27a5f2eccb5463834c3e7","_id":"nofilter@4.0.2","_nodeVersion":"20.3.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-pwVobWJDoOE/n6M7Zru1wtbwCzZ5jPrbJ1WD4o9CjpnKCFS1+DpvcGqCbPV9W0VsIHeXvxjugdT9AC9LpQROkA==","shasum":"1ca15481e99ffe41b27f099939f069bd4caccf47","tarball":"http://registry-npm.ywwl.com/nofilter/download/nofilter-4.0.2.tgz","fileCount":6,"unpackedSize":53479,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCM7OJfgxzHN0XucIOGhyVSNeiIlgFIRyXEY/NjQ1UAtwIhAK0HnHBydjjyKBimhdZYN8Vd5H13qtjg1QvnbDGgGdkk"}],"size":11967,"noattachment":false,"key":"/nofilter/-/nofilter-4.0.2.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.2_1688140010097_0.22654627933794735"},"_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":1688140010623,"_cnpm_publish_time":1688140010623,"dist-tags":{"latest":"7.0.0"}}