{"name":"strip-bom-stream","version":"3.0.0","description":"Strip UTF-8 byte order mark (BOM) from a stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-bom-stream.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"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-buf":"^1.0.0"},"devDependencies":{"ava":"*","get-stream":"^3.0.0","xo":"*"},"gitHead":"5e1fb745490d2068d5a2cfc33d19e3d7fbf54a1a","bugs":{"url":"https://github.com/sindresorhus/strip-bom-stream/issues"},"homepage":"https://github.com/sindresorhus/strip-bom-stream#readme","_id":"strip-bom-stream@3.0.0","_shasum":"956bcc5d84430f69256a90ed823765cd858e159c","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"956bcc5d84430f69256a90ed823765cd858e159c","tarball":"http://registry-npm.ywwl.com/strip-bom-stream/download/strip-bom-stream-3.0.0.tgz","integrity":"sha512-2di6sulSHfspbuEJHwwF6vzwijA4uaKsKYtviRQsJsOdxxb6yexiDcZFQ5oY10J50YxmCdHn/1sQmxDKbrGOVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJbYLyiwnWwBRK36zVpmc2pS2vPOjyrbhAwk75YJmhvgIgM7mOV4VLGRxY6WAQ3P4v6+pt5i6F0T34L3P0DqUIVpU="}],"size":1765,"noattachment":false,"key":"/strip-bom-stream/-/strip-bom-stream-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-bom-stream-3.0.0.tgz_1485363294203_0.1119746994227171"},"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":1485363294463,"_cnpm_publish_time":1485363294463,"dist-tags":{"latest":"5.0.0"}}