{"maintainers":[{"email":"blaine.bublitz@gmail.com","name":"anonymous"},{"email":"github@sellside.com","name":"anonymous"}],"keywords":["bom","buffer","byte-order-mark","file","fs","nl","normalize","strip"],"dist-tags":{"latest":"1.0.1"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Strip a byte order mark (BOM) from a buffer.","readme":"# strip-bom-buffer [![NPM version](https://img.shields.io/npm/v/strip-bom-buffer.svg?style=flat)](https://www.npmjs.com/package/strip-bom-buffer) [![NPM monthly downloads](https://img.shields.io/npm/dm/strip-bom-buffer.svg?style=flat)](https://npmjs.org/package/strip-bom-buffer)  [![NPM total downloads](https://img.shields.io/npm/dt/strip-bom-buffer.svg?style=flat)](https://npmjs.org/package/strip-bom-buffer) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/strip-bom-buffer.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/strip-bom-buffer)\n\n> Strip a byte order mark (BOM) from a buffer.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save strip-bom-buffer\n```\n\n## Usage\n\n```js\nvar strip = require('strip-bom-buffer');\nstrip(new Buffer('\\ufefffoo'));\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-string](https://www.npmjs.com/package/strip-bom-string): Strip a byte order mark (BOM) from a string. | [homepage](https://github.com/jonschlinkert/strip-bom-string \"Strip a byte order mark (BOM) from a string.\")\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._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-buffer.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-buffer/issues"},"license":"MIT","versions":{"0.1.0":{"name":"strip-bom-buffer","description":"Strip a byte order mark (BOM) from a buffer.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/strip-bom-buffer","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-buffer.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-buffer/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-buffer":"^1.1.0"},"devDependencies":{"mocha":"*"},"keywords":["bom","byte-order-mark","file","fs","nl","normalize","buffer"],"verb":{"related":{"list":["cr","copy","strip-bom-string"]}},"gitHead":"878e27bdd9387015aa442e28543778872d2c31d4","_id":"strip-bom-buffer@0.1.0","_shasum":"f71f5b0c01e2c731b2f87fe190bc2f3a34fea2f8","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"f71f5b0c01e2c731b2f87fe190bc2f3a34fea2f8","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/strip-bom-buffer/-/strip-bom-buffer-0.1.0.tgz","integrity":"sha512-EBTo/MhYsR1NY5rzUUPRqaOi5G2/r5EP6py4YnZk89XCKGCEJEwZ+aTDD+zm2UHk89WD/FtnN8H4tv+sJf+bVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClfbIKqFUeZSlQ6NCFZrxCdE+CGFmdcA1WMi+/UyxdjQIhAPQ7Mws1cn5MNundsByMeEDrOpbXQD3kc/QQhYCodoed"}]}},"0.1.1":{"name":"strip-bom-buffer","description":"Strip a byte order mark (BOM) from a buffer.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/strip-bom-buffer","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-buffer.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-buffer/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-buffer":"^1.1.0","is-utf8":"^0.2.0"},"devDependencies":{"mocha":"*"},"keywords":["bom","byte-order-mark","file","fs","nl","normalize","buffer"],"verb":{"related":{"list":["cr","has-bom","read-file","strip-bom-string"]}},"gitHead":"878e27bdd9387015aa442e28543778872d2c31d4","_id":"strip-bom-buffer@0.1.1","_shasum":"ca3ddc4919c13f9fddf30b1dff100a9835248b4d","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"ca3ddc4919c13f9fddf30b1dff100a9835248b4d","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/strip-bom-buffer/-/strip-bom-buffer-0.1.1.tgz","integrity":"sha512-dbIOX/cOLFgLH/2ofd7n78uPD3uPkXyt3P1IgaVoGiPYEdOnb7D1mawyhOTXyYWva1kCuRxJY5FkMsVKYlZRRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2h0ks4ixi2MqJiMc0xMsy8AE5ITlBAz6i8A1dvrrg7gIhALzgkYLSPBdZf0tPti5WulwCEjT0D9HnCaYpptvaRPvd"}]}},"1.0.0":{"name":"strip-bom-buffer","description":"Strip a byte order mark (BOM) from a buffer.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/strip-bom-buffer","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-buffer.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-buffer/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-buffer":"^1.1.5"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"keywords":["bom","buffer","byte-order-mark","file","fs","nl","normalize","strip"],"verb":{"related":{"list":["cr","has-bom","read-file","strip-bom-string"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"b09cacff47e997d86ae47d1175a7071f50f69a0f","_id":"strip-bom-buffer@1.0.0","_shasum":"38f2a6175c6623bbc7e9abeccb3f6aaad67039ca","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"38f2a6175c6623bbc7e9abeccb3f6aaad67039ca","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/strip-bom-buffer/-/strip-bom-buffer-1.0.0.tgz","integrity":"sha512-+JHMPQF9T+rQSCuFP35SltxDX3rz4TjMTj4RTKa4pZuLsJIZtFBn4PNLFTiQQzMB/DLfKqm5Ek0k1si3C/ja2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+SkeRf8xiJzZfDZmoi+X9AJ3Plk+xQhJPxgqJg8EVGwIhAOVbz6BixPfcsijNNR8ouXXmTcBucvN5Y9J+vfadzJ6r"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-bom-buffer-1.0.0.tgz_1490844991729_0.49258651677519083"}},"1.0.1":{"name":"strip-bom-buffer","description":"Strip a byte order mark (BOM) from a buffer.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/strip-bom-buffer","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-buffer.git"},"bugs":{"url":"https://github.com/jonschlinkert/strip-bom-buffer/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-buffer":"^1.1.5","is-utf8":"^0.2.1"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"keywords":["bom","buffer","byte-order-mark","file","fs","nl","normalize","strip"],"verb":{"related":{"list":["cr","has-bom","read-file","strip-bom-string"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"32bf4c105bcfd635cd9d6a069c02f92dcc95bd6e","_id":"strip-bom-buffer@1.0.1","_shasum":"39890eb738199bdd86c1d5a6968d66be3b94fa5f","_from":".","_npmVersion":"2.15.2","_nodeVersion":"0.10.41","_npmUser":{"name":"anonymous","email":"blaine.bublitz@gmail.com"},"maintainers":[{"email":"blaine.bublitz@gmail.com","name":"anonymous"},{"email":"github@sellside.com","name":"anonymous"}],"dist":{"shasum":"39890eb738199bdd86c1d5a6968d66be3b94fa5f","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/strip-bom-buffer/-/strip-bom-buffer-1.0.1.tgz","integrity":"sha512-yMZPQ9xy8W04s70yHqHRZG8ebadI+WuCkaDDTXEDU0lAfmtU0egXyXdYkFEsxOnrR0gUJXX90rN7JN3Wxk57kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqHrt31rKpBr83d3lEIiXoOEzXhTre5rM/b0sK8Z0sDgIgS2ufFqfj8F16TNm83MTbPDX5amYxiGxP2LZcwQE1fbo="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-bom-buffer-1.0.1.tgz_1497649686918_0.11705312179401517"},"deprecated":"This package was renamed to remove-bom-buffer, please use that module instead"}},"name":"strip-bom-buffer","time":{"modified":"2022-06-27T01:11:54.158Z","created":"2015-10-10T10:11:39.476Z","0.1.0":"2015-10-10T10:11:39.476Z","0.1.1":"2015-10-10T10:40:56.956Z","1.0.0":"2017-03-30T03:36:33.806Z","1.0.1":"2017-06-16T21:48:07.066Z"},"readmeFilename":"README.md","homepage":"https://github.com/jonschlinkert/strip-bom-buffer"}