{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["bom","strip","byte","mark","unicode","utf8","utf-8","remove","delete","trim","text","stream","streams"],"dist-tags":{"latest":"3.0.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Strip UTF-8 byte order mark (BOM) from a stream","readme":"# strip-bom-stream [![Build Status](https://travis-ci.org/sindresorhus/strip-bom-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/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\n## Install\n\n```\n$ npm install --save strip-bom-stream\n```\n\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst stripBomStream = require('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\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\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-bom-stream.git"},"bugs":{"url":"https://github.com/sindresorhus/strip-bom-stream/issues"},"license":"MIT","versions":{"1.0.0":{"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://nexus.dui88.com:8081/nexus/content/groups/npm-all/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"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://nexus.dui88.com:8081/nexus/content/groups/npm-all/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"3.0.0":{"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://nexus.dui88.com:8081/nexus/content/groups/npm-all/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":{}}},"name":"strip-bom-stream","time":{"modified":"2017-01-25T16:54:54.463Z","created":"2015-06-29T13:19:39.275Z","1.0.0":"2015-06-29T13:19:39.275Z","2.0.0":"2015-11-23T08:04:41.125Z","3.0.0":"2017-01-25T16:54:54.463Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/strip-bom-stream#readme"}