{"name":"strip-bom-stream","version":"1.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":"^1.0.0","strip-bom":"^2.0.0"},"devDependencies":{"ava":"0.0.4","concat-stream":"^1.4.5"},"gitHead":"bf94858c313e67de092d21230fcaa6b517a98137","bugs":{"url":"https://github.com/sindresorhus/strip-bom-stream/issues"},"homepage":"https://github.com/sindresorhus/strip-bom-stream","_id":"strip-bom-stream@1.0.0","_shasum":"e7144398577d51a6bed0fa1994fa05f43fd988ee","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e7144398577d51a6bed0fa1994fa05f43fd988ee","tarball":"http://registry-npm.ywwl.com/strip-bom-stream/download/strip-bom-stream-1.0.0.tgz","integrity":"sha512-7jfJB9YpI2Z0aH3wu10ZqitvYJaE0s5IzFuWE+0pbb4Q/armTloEUShymkDO47YSLnjAW52mlXT//hs9wXNNJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHev0Pru+P7bVAJylJfTmDxqUk+33RmVaM3sP2GJ5jAxAiEA8JcVgUtr1/FZQTKpNrTqd61QU88oMI3knTYD4g0o6fI="}],"size":1766,"noattachment":false,"key":"/strip-bom-stream/-/strip-bom-stream-1.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":1435583979275,"_cnpm_publish_time":1435583979275,"dist-tags":{"latest":"5.0.0"}}