{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["strip","bom","byte","order","mark","unicode","utf8","utf-8","remove","delete","trim","text","string"],"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 string","readme":"# strip-bom [![Build Status](https://travis-ci.org/sindresorhus/strip-bom.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-bom)\n\n> Strip UTF-8 [byte order mark](http://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a string\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\n```\n\n\n## Usage\n\n```js\nconst stripBom = require('strip-bom');\n\nstripBom('\\uFEFFunicorn');\n//=> 'unicorn'\n```\n\n\n## Related\n\n- [strip-bom-cli](https://github.com/sindresorhus/strip-bom-cli) - CLI for this module\n- [strip-bom-buf](https://github.com/sindresorhus/strip-bom-buf) - Buffer version of this module\n- [strip-bom-stream](https://github.com/sindresorhus/strip-bom-stream) - Stream 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.git"},"users":{"mattecapu":true,"andr":true},"bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"license":"MIT","versions":{"0.1.0":{"name":"strip-bom","version":"0.1.0","description":"Strip UTF-8 byte order mark (BOM) from a string/buffer","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-bom"},"bin":{"strip-bom":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["cli.js","index.js"],"keywords":["cli","bin","app","bom","strip","byte","mark","unicode","utf8","utf-8","remove","trim","text","buffer","string"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"homepage":"https://github.com/sindresorhus/strip-bom","_id":"strip-bom@0.1.0","dist":{"shasum":"c2b6bd5a206ba5caa0ab2a8f5ac2f686264ab072","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/strip-bom/-/strip-bom-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.2.0":{"name":"strip-bom","version":"0.2.0","description":"Strip UTF-8 byte order mark (BOM) from a string/buffer","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-bom"},"bin":{"strip-bom":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["cli.js","index.js"],"keywords":["cli","bin","app","bom","strip","byte","mark","unicode","utf8","utf-8","remove","trim","text","buffer","string"],"dependencies":{"is-utf8":"^0.2.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"homepage":"https://github.com/sindresorhus/strip-bom","_id":"strip-bom@0.2.0","_shasum":"8fea75e2715a8e7c9e0774c7d43c307e7e9eef33","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"8fea75e2715a8e7c9e0774c7d43c307e7e9eef33","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/strip-bom/-/strip-bom-0.2.0.tgz"},"directories":{}},"0.2.1":{"name":"strip-bom","version":"0.2.1","description":"Strip UTF-8 byte order mark (BOM) from a string/buffer","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-bom"},"bin":{"strip-bom":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["cli.js","index.js"],"keywords":["cli","bin","app","bom","strip","byte","mark","unicode","utf8","utf-8","remove","trim","text","buffer","string"],"dependencies":{"is-utf8":"^0.2.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"homepage":"https://github.com/sindresorhus/strip-bom","_id":"strip-bom@0.2.1","_shasum":"bfa91b4e4322c7ae23147cd8ab76b46c59273774","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"bfa91b4e4322c7ae23147cd8ab76b46c59273774","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/strip-bom/-/strip-bom-0.2.1.tgz"},"directories":{}},"0.3.0":{"name":"strip-bom","version":"0.3.0","description":"Strip UTF-8 byte order mark (BOM) from a string/buffer/stream","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-bom"},"bin":{"strip-bom":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["cli.js","index.js"],"keywords":["cli","bin","app","bom","strip","byte","mark","unicode","utf8","utf-8","remove","trim","text","buffer","string","stream","streams"],"dependencies":{"is-utf8":"^0.2.0","through2":"^0.4.1"},"devDependencies":{"concat-stream":"^1.4.5","mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"homepage":"https://github.com/sindresorhus/strip-bom","_id":"strip-bom@0.3.0","_shasum":"4a6920a8848ccc50369c3a535d809fddab4291b8","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"4a6920a8848ccc50369c3a535d809fddab4291b8","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/strip-bom/-/strip-bom-0.3.0.tgz"},"directories":{}},"0.3.1":{"name":"strip-bom","version":"0.3.1","description":"Strip UTF-8 byte order mark (BOM) from a string/buffer/stream","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-bom"},"bin":{"strip-bom":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["cli.js","index.js"],"keywords":["cli","bin","app","bom","strip","byte","mark","unicode","utf8","utf-8","remove","trim","text","buffer","string","stream","streams"],"dependencies":{"first-chunk-stream":"^0.1.0","is-utf8":"^0.2.0"},"devDependencies":{"concat-stream":"^1.4.5","mocha":"*"},"gitHead":"bac8b80dceb94ce6d544dfc1234e755c779f9829","bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"homepage":"https://github.com/sindresorhus/strip-bom","_id":"strip-bom@0.3.1","_shasum":"9e8a39eff456ff9abc2f059f5f2225bb0f3f7ca5","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"9e8a39eff456ff9abc2f059f5f2225bb0f3f7ca5","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/strip-bom/-/strip-bom-0.3.1.tgz"},"directories":{}},"1.0.0":{"name":"strip-bom","version":"1.0.0","description":"Strip UTF-8 byte order mark (BOM) from a string/buffer/stream","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/strip-bom"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"strip-bom":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["cli.js","index.js"],"keywords":["cli","bin","app","bom","strip","byte","mark","unicode","utf8","utf-8","remove","trim","text","buffer","string","stream","streams"],"dependencies":{"first-chunk-stream":"^1.0.0","is-utf8":"^0.2.0"},"devDependencies":{"concat-stream":"^1.4.5","mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"homepage":"https://github.com/sindresorhus/strip-bom","_id":"strip-bom@1.0.0","_shasum":"85b8862f3844b5a6d5ec8467a93598173a36f794","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"85b8862f3844b5a6d5ec8467a93598173a36f794","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/strip-bom/-/strip-bom-1.0.0.tgz"},"directories":{}},"2.0.0":{"name":"strip-bom","version":"2.0.0","description":"Strip UTF-8 byte order mark (BOM) from a string/buffer","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/strip-bom"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["bom","strip","byte","mark","unicode","utf8","utf-8","remove","delete","trim","text","buffer","string"],"dependencies":{"is-utf8":"^0.2.0"},"devDependencies":{"mocha":"*"},"gitHead":"851b9c126dba9561cc14ef3dc2634dcc11df4d11","bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"homepage":"https://github.com/sindresorhus/strip-bom","_id":"strip-bom@2.0.0","_shasum":"6219a85616520491f35788bdbf1447a99c7e6b0e","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6219a85616520491f35788bdbf1447a99c7e6b0e","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/strip-bom/-/strip-bom-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"3.0.0":{"name":"strip-bom","version":"3.0.0","description":"Strip UTF-8 byte order mark (BOM) from a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/strip-bom.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["strip","bom","byte","order","mark","unicode","utf8","utf-8","remove","delete","trim","text","string"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"8258d09a069a5d5eb3d787c1d5d29737df1c8bba","bugs":{"url":"https://github.com/sindresorhus/strip-bom/issues"},"homepage":"https://github.com/sindresorhus/strip-bom#readme","_id":"strip-bom@3.0.0","_shasum":"2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/strip-bom/-/strip-bom-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/strip-bom-3.0.0.tgz_1462032162626_0.6434765527956188"},"directories":{}}},"name":"strip-bom","time":{"modified":"2016-04-30T16:02:44.907Z","created":"2014-04-04T16:23:07.367Z","0.1.0":"2014-04-04T16:23:07.367Z","0.2.0":"2014-05-12T09:31:30.521Z","0.2.1":"2014-05-14T17:40:36.329Z","0.3.0":"2014-05-14T21:38:20.253Z","0.3.1":"2014-05-25T16:07:52.046Z","1.0.0":"2014-08-22T13:03:42.521Z","2.0.0":"2015-06-29T13:13:31.964Z","3.0.0":"2016-04-30T16:02:44.907Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/strip-bom#readme"}