{"_id":"strip-bom-string","_rev":"68164","name":"strip-bom-string","description":"Strip a byte order mark (BOM) from a string.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:22:38.000Z","created":"2015-10-10T10:08:16.535Z","1.0.0":"2017-03-30T03:43:50.269Z","0.1.2":"2015-10-10T10:42:16.718Z","0.1.1":"2015-10-10T10:12:13.804Z","0.1.0":"2015-10-10T10:08:16.535Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-string.git"},"versions":{"1.0.0":{"name":"strip-bom-string","description":"Strip a byte order mark (BOM) from a string.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/strip-bom-string","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-string.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-string/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"keywords":["bom","byte","byte-order-mark","file","fs","mark","nl","normalize","order","string","strip"],"verb":{"related":{"list":["cr","has-bom","read-file","strip-bom-buffer"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"b53663735a3309df75277ea8e66abfb492b4a923","_id":"strip-bom-string@1.0.0","_shasum":"e5211e9224369fbb81d633a2f00044dc8cedad92","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e5211e9224369fbb81d633a2f00044dc8cedad92","size":2446,"noattachment":false,"key":"/strip-bom-string/-/strip-bom-string-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-bom-string/download/strip-bom-string-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/strip-bom-string-1.0.0.tgz_1490845429634_0.45397467934526503"},"directories":{},"publish_time":1490845430269,"_cnpm_publish_time":1490845430269,"_hasShrinkwrap":false},"0.1.2":{"name":"strip-bom-string","description":"Strip a byte order mark (BOM) from a string.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/strip-bom-string","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-string.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-string/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["bom","byte","byte-order-mark","file","fs","mark","nl","normalize","order","string"],"verb":{"related":{"list":["cr","has-bom","strip-bom-buffer","read-file"]}},"gitHead":"15dd6590567338665a59716c3a7e27b34fce897f","_id":"strip-bom-string@0.1.2","_shasum":"9c6e720a313ba9836589518405ccfb88a5f41b9c","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9c6e720a313ba9836589518405ccfb88a5f41b9c","size":1996,"noattachment":false,"key":"/strip-bom-string/-/strip-bom-string-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-bom-string/download/strip-bom-string-0.1.2.tgz"},"directories":{},"publish_time":1444473736718,"_cnpm_publish_time":1444473736718,"_hasShrinkwrap":false},"0.1.1":{"name":"strip-bom-string","description":"Strip a byte order mark (BOM) from a string.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/strip-bom-string","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-string.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-string/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["bom","byte","byte-order-mark","file","fs","mark","nl","normalize","order","string"],"verb":{"related":{"list":["cr","copy","strip-bom-buffer","read-file"]}},"gitHead":"df9719e44d43852c6604264124b689eaf3ae38d2","_id":"strip-bom-string@0.1.1","_shasum":"817c60087f08564806fa403a8a8f03e0a2df6db0","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"817c60087f08564806fa403a8a8f03e0a2df6db0","size":1962,"noattachment":false,"key":"/strip-bom-string/-/strip-bom-string-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-bom-string/download/strip-bom-string-0.1.1.tgz"},"directories":{},"publish_time":1444471933804,"_cnpm_publish_time":1444471933804,"_hasShrinkwrap":false},"0.1.0":{"name":"strip-bom-string","description":"Strip a byte order mark (BOM) from a string.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/strip-bom-string","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-string.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-string/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["bom","byte","byte-order-mark","file","fs","mark","nl","normalize","order","string"],"verb":{"related":{"list":["cr","copy","read-file"]}},"gitHead":"ab8505623255b8a3962681e8d6cdaa1241aa9c92","_id":"strip-bom-string@0.1.0","_shasum":"af36418de8357a3fffdc212433966def3a13e6c8","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"af36418de8357a3fffdc212433966def3a13e6c8","size":1930,"noattachment":false,"key":"/strip-bom-string/-/strip-bom-string-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-bom-string/download/strip-bom-string-0.1.0.tgz"},"directories":{},"publish_time":1444471696535,"_cnpm_publish_time":1444471696535,"_hasShrinkwrap":false}},"readme":"# strip-bom-string [![NPM version](https://img.shields.io/npm/v/strip-bom-string.svg?style=flat)](https://www.npmjs.com/package/strip-bom-string) [![NPM monthly downloads](https://img.shields.io/npm/dm/strip-bom-string.svg?style=flat)](https://npmjs.org/package/strip-bom-string)  [![NPM total downloads](https://img.shields.io/npm/dt/strip-bom-string.svg?style=flat)](https://npmjs.org/package/strip-bom-string) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/strip-bom-string.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/strip-bom-string)\n\n> Strip a byte order mark (BOM) from a string.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save strip-bom-string\n```\n\n## Usage\n\n```js\nvar strip = require('strip-bom-string');\nstrip('\\ufefffoo');\n//=> 'foo'\n```\n\n## About\n\n### Related projects\n\n* [cr](https://www.npmjs.com/package/cr): Strip windows carriage returns, or convert carriage returns to newlines. | [homepage](https://github.com/jonschlinkert/cr \"Strip windows carriage returns, or convert carriage returns to newlines.\")\n* [has-bom](https://www.npmjs.com/package/has-bom): Returns true if a buffer or string has a byte order mark (BOM) | [homepage](https://github.com/jonschlinkert/has-bom \"Returns true if a buffer or string has a byte order mark (BOM)\")\n* [read-file](https://www.npmjs.com/package/read-file): Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when `utf8` encoding… [more](https://github.com/jonschlinkert/read-file) | [homepage](https://github.com/jonschlinkert/read-file \"Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when `utf8` encoding is chosen. Also optionally replaces windows newlines with unix newlines.\")\n* [strip-bom-buffer](https://www.npmjs.com/package/strip-bom-buffer): Strip a byte order mark (BOM) from a buffer. | [homepage](https://github.com/jonschlinkert/strip-bom-buffer \"Strip a byte order mark (BOM) from a buffer.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.3, on March 29, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/strip-bom-string","bugs":{"url":"https://github.com/jonschlinkert/strip-bom-string/issues"},"license":"MIT"}