{"_id":"stripbom","_rev":"3-9b1208a1846f072931f7c9ba77fcc9f8","name":"stripbom","description":"Strip UTF-8 byte order mark (BOM) from a string. Works in all node versions","dist-tags":{"latest":"3.0.0"},"versions":{"3.0.0":{"name":"stripbom","version":"3.0.0","description":"Strip UTF-8 byte order mark (BOM) from a string. Works in all node versions","license":"MIT","scripts":{"lint":"eslint index.js test/*.js","test":"istanbul cover tape test/*.js | tap-spec","win-test":"tape test/*.js","bithound":"bithound check git@github.com:alexindigo/stripbom.git","debug":"tape test/*.js | tap-spec"},"pre-commit":["lint","test","bithound"],"engines":{"node":">= 0.10"},"repository":{"type":"git","url":"git://github.com/alexindigo/stripbom.git"},"bugs":{"url":"https://github.com/alexindigo/stripbom/issues"},"author":{"name":"Alex Indigo","email":"iam@alexindigo.com"},"keywords":["strip","bom","byte","order","mark","unicode","utf8","utf-8","remove","delete","trim","text","string","node","0.10","0.12"],"devDependencies":{"bithound":"^1.7.0","coveralls":"^2.11.12","eslint":"^2.13.1","istanbul":"^0.4.4","pre-commit":"^1.1.3","tap-spec":"^4.1.1","tape":"^4.6.0"},"gitHead":"54c3277a5ef0a75258d7e8338aa55f4a0f790e95","homepage":"https://github.com/alexindigo/stripbom#readme","_id":"stripbom@3.0.0","_shasum":"0159d615b4ebcdfa78aae57c87d4f81e96ed979b","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"alexindigo","email":"iam@alexindigo.com"},"dist":{"shasum":"0159d615b4ebcdfa78aae57c87d4f81e96ed979b","tarball":"https://registry.npmjs.org/stripbom/-/stripbom-3.0.0.tgz","integrity":"sha512-CTR5OVLO+C/BshN2cbjcaKdvG+2kJ9HwWhDJGw/ay6b1hDmybatOIdQbCdCqmMkPZBEEKxTocNbu9dA+xmUcFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCq2TinjdZNYrwyWcMn2PZxIqAXyh+AQO6/3rCj6O/X7QIgU2XM2iXkIWQl5Da3u9cLkTAfmjrAUms/e+FcO4U0YI8="}]},"maintainers":[{"name":"alexindigo","email":"iam@alexindigo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stripbom-3.0.0.tgz_1469859251684_0.6877113149967045"}}},"readme":"# stripbom [![NPM Module](https://img.shields.io/npm/v/stripbom.svg?style=flat)](https://www.npmjs.com/package/stripbom)\n\nStrip UTF-8 byte order mark (BOM) from a string. Works in all node versions.\n\n[![Linux Build](https://img.shields.io/travis/alexindigo/stripbom/master.svg?label=linux:0.10-6.x&style=flat)](https://travis-ci.org/alexindigo/stripbom)\n[![Windows Build](https://img.shields.io/appveyor/ci/alexindigo/stripbom/master.svg?label=windows:0.10-6.x&style=flat)](https://ci.appveyor.com/project/alexindigo/stripbom)\n\n[![Coverage Status](https://img.shields.io/coveralls/alexindigo/stripbom/master.svg?label=code+coverage&style=flat)](https://coveralls.io/github/alexindigo/stripbom?branch=master)\n[![Dependency Status](https://img.shields.io/david/alexindigo/stripbom.svg?style=flat)](https://david-dm.org/alexindigo/stripbom)\n\n[![bitHound Overall Score](https://www.bithound.io/github/alexindigo/stripbom/badges/score.svg)](https://www.bithound.io/github/alexindigo/stripbom)\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## Why\n\nStarting version 3.x of npmjs.com/strip-bom doesn't support node below v4,\nand previous versions have security issues, so this brings all the happiness\nto those who are still in supporting older versions of node business\n\n## Install\n\n```\n$ npm install --save stripbom\n```\n\n## Usage\n\n```js\nconst stripBom = require('stripbom');\n\nstripBom('\\uFEFFunicorn');\n//=> 'unicorn'\n```\n\n## License\n\nStripBOM is licensed under the MIT license.\n","maintainers":[{"name":"alexindigo","email":"iam@alexindigo.com"}],"time":{"modified":"2022-06-27T01:13:12.198Z","created":"2016-07-30T06:14:11.938Z","3.0.0":"2016-07-30T06:14:11.938Z"},"homepage":"https://github.com/alexindigo/stripbom#readme","keywords":["strip","bom","byte","order","mark","unicode","utf8","utf-8","remove","delete","trim","text","string","node","0.10","0.12"],"repository":{"type":"git","url":"git://github.com/alexindigo/stripbom.git"},"author":{"name":"Alex Indigo","email":"iam@alexindigo.com"},"bugs":{"url":"https://github.com/alexindigo/stripbom/issues"},"license":"MIT","readmeFilename":"README.md"}