{"name":"strip-bom-stream","version":"2.0.0","description":"Strip UTF-8 byte order mark (BOM) from a stream","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/strip-bom-stream"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["bom","strip","byte","mark","unicode","utf8","utf-8","remove","delete","trim","text","stream","streams"],"dependencies":{"first-chunk-stream":"^2.0.0","strip-bom":"^2.0.0"},"devDependencies":{"ava":"0.0.4","concat-stream":"^1.4.5"},"gitHead":"af3e3b7093d302a7955cb23167caa60ca817333a","bugs":{"url":"https://github.com/sindresorhus/strip-bom-stream/issues"},"homepage":"https://github.com/sindresorhus/strip-bom-stream","_id":"strip-bom-stream@2.0.0","_shasum":"f87db5ef2613f6968aa545abfe1ec728b6a829ca","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f87db5ef2613f6968aa545abfe1ec728b6a829ca","tarball":"http://registry-npm.ywwl.com/strip-bom-stream/download/strip-bom-stream-2.0.0.tgz","integrity":"sha512-yH0+mD8oahBZWnY43vxs4pSinn8SMKAdml/EOGBewoe1Y0Eitd0h2Mg3ZRiXruUW6L4P+lvZiEgbh0NgUGia1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoIRdvY9z6QPLDyu0hiBIjJdr9dpHKC4QDkyUe88IpEwIgfobRFmpI1pA/z84FGWRH/gA00zlEn1CzbPHQIlyro44="}],"size":1778,"noattachment":false,"key":"/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# strip-bom-stream\n\n> Strip UTF-8 [byte order mark](https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a stream\n\nFrom Wikipedia:\n\n> The Unicode Standard permits the BOM in UTF-8, but does not require nor recommend its use. Byte order has no meaning in UTF-8.\n\n## Install\n\n```\n$ npm install strip-bom-stream\n```\n\n## Usage\n\n```js\nimport fs from 'node:fs';\nimport stripBomStream from 'strip-bom-stream';\n\nfs.createReadStream('unicorn.txt')\n\t.pipe(stripBomStream())\n\t.pipe(fs.createWriteStream('unicorn.txt'));\n```\n\nIt's a [`Transform` stream](https://nodejs.org/api/stream.html#stream_class_stream_transform).\n\n## Related\n\n- [strip-bom](https://github.com/sindresorhus/strip-bom) - String version of this module\n- [strip-bom-buf](https://github.com/sindresorhus/strip-bom-buf) - Buffer version of this module\n","publish_time":1448265881125,"_cnpm_publish_time":1448265881125,"dist-tags":{"latest":"5.0.0"}}