{"_id":"remove-bom-buffer","_rev":"60708","name":"remove-bom-buffer","description":"Remove a byte order mark (BOM) from a buffer.","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:20:33.000Z","created":"2017-06-17T00:12:13.753Z","3.0.0":"2017-07-05T18:40:47.841Z","2.0.0":"2017-06-17T00:15:25.766Z","1.0.0":"2017-06-17T00:12:13.753Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/remove-bom-buffer.git"},"versions":{"3.0.0":{"name":"remove-bom-buffer","description":"Remove a byte order mark (BOM) from a buffer.","version":"3.0.0","homepage":"https://github.com/jonschlinkert/remove-bom-buffer","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Blaine Bublitz","url":"https://twitter.com/BlaineBublitz"},{"name":"Erik Kemperman","url":"https://github.com/erikkemperman"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/remove-bom-buffer.git"},"bugs":{"url":"https://github.com/jonschlinkert/remove-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","normalize","remove","strip","strip-bom","strip-bom-buffer","strip-bom-string"],"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":"287783d0d6bdfd8f8bb863ecc5493002f2e55594","_id":"remove-bom-buffer@3.0.0","_npmVersion":"5.0.4","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c2bf1e377520d324f623892e33c10cac2c252b53","size":2645,"noattachment":false,"key":"/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remove-bom-buffer/download/remove-bom-buffer-3.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remove-bom-buffer-3.0.0.tgz_1499280045946_0.36108604609034956"},"directories":{},"publish_time":1499280047841,"_cnpm_publish_time":1499280047841,"_hasShrinkwrap":false},"2.0.0":{"name":"remove-bom-buffer","description":"Remove a byte order mark (BOM) from a buffer.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/remove-bom-buffer","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Blaine Bublitz","url":"https://twitter.com/BlaineBublitz"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/remove-bom-buffer.git"},"bugs":{"url":"https://github.com/jonschlinkert/remove-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","remove","strip-bom","strip-bom-buffer","strip-bom-string","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":"d936aee70295192441071df01a93a3777fb2349a","_id":"remove-bom-buffer@2.0.0","_npmVersion":"5.0.3","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0d40d86f141019c339baa34db6bc8d0c207b3fc8","size":2529,"noattachment":false,"key":"/remove-bom-buffer/-/remove-bom-buffer-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remove-bom-buffer/download/remove-bom-buffer-2.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remove-bom-buffer-2.0.0.tgz_1497658524738_0.6267564098816365"},"directories":{},"publish_time":1497658525766,"_hasShrinkwrap":false,"_cnpm_publish_time":1497658525766},"1.0.0":{"name":"remove-bom-buffer","description":"Remove a byte order mark (BOM) from a buffer.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/remove-bom-buffer","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Blaine Bublitz","url":"https://twitter.com/BlaineBublitz"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/remove-bom-buffer.git"},"bugs":{"url":"https://github.com/jonschlinkert/remove-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","remove","strip-bom","strip-bom-buffer","strip-bom-string","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":"d936aee70295192441071df01a93a3777fb2349a","_id":"remove-bom-buffer@1.0.0","_npmVersion":"5.0.3","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"16ebf2d3c91e943665581fa63ecdb212836d816c","size":2533,"noattachment":false,"key":"/remove-bom-buffer/-/remove-bom-buffer-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remove-bom-buffer/download/remove-bom-buffer-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remove-bom-buffer-1.0.0.tgz_1497658332764_0.8564766009803861"},"directories":{},"publish_time":1497658333753,"_hasShrinkwrap":false,"_cnpm_publish_time":1497658333753}},"readme":"# remove-bom-buffer [![NPM version](https://img.shields.io/npm/v/remove-bom-buffer.svg?style=flat)](https://www.npmjs.com/package/remove-bom-buffer) [![NPM monthly downloads](https://img.shields.io/npm/dm/remove-bom-buffer.svg?style=flat)](https://npmjs.org/package/remove-bom-buffer) [![NPM total downloads](https://img.shields.io/npm/dt/remove-bom-buffer.svg?style=flat)](https://npmjs.org/package/remove-bom-buffer) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/remove-bom-buffer.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/remove-bom-buffer)\n\n> Remove 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 remove-bom-buffer\n```\n\n## Usage\n\n```js\nvar remove = require('remove-bom-buffer');\nremove(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.6.0, on June 16, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/remove-bom-buffer","bugs":{"url":"https://github.com/jonschlinkert/remove-bom-buffer/issues"},"license":"MIT"}