{"_id":"strip-bom-buffer","_rev":"69238","name":"strip-bom-buffer","description":"Strip a byte order mark (BOM) from a buffer.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"time":{"modified":"2021-06-03T10:22:55.000Z","created":"2015-10-10T10:11:39.476Z","1.0.1":"2017-06-16T21:48:07.066Z","1.0.0":"2017-03-30T03:36:33.806Z","0.1.1":"2015-10-10T10:40:56.956Z","0.1.0":"2015-10-10T10:11:39.476Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/strip-bom-buffer.git"},"versions":{"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":"phated","email":"blaine.bublitz@gmail.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"39890eb738199bdd86c1d5a6968d66be3b94fa5f","size":2480,"noattachment":false,"key":"/strip-bom-buffer/-/strip-bom-buffer-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-bom-buffer/download/strip-bom-buffer-1.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strip-bom-buffer-1.0.1.tgz_1497649686918_0.11705312179401517"},"directories":{},"publish_time":1497649687066,"_hasShrinkwrap":false,"_cnpm_publish_time":1497649687066,"deprecated":"This package was renamed to remove-bom-buffer, please use that module instead"},"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":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"38f2a6175c6623bbc7e9abeccb3f6aaad67039ca","size":2464,"noattachment":false,"key":"/strip-bom-buffer/-/strip-bom-buffer-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-bom-buffer/download/strip-bom-buffer-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-bom-buffer-1.0.0.tgz_1490844991729_0.49258651677519083"},"directories":{},"publish_time":1490844993806,"_cnpm_publish_time":1490844993806,"_hasShrinkwrap":false},"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":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"ca3ddc4919c13f9fddf30b1dff100a9835248b4d","size":2052,"noattachment":false,"key":"/strip-bom-buffer/-/strip-bom-buffer-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-bom-buffer/download/strip-bom-buffer-0.1.1.tgz"},"directories":{},"publish_time":1444473656956,"_cnpm_publish_time":1444473656956,"_hasShrinkwrap":false},"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":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"f71f5b0c01e2c731b2f87fe190bc2f3a34fea2f8","size":1867,"noattachment":false,"key":"/strip-bom-buffer/-/strip-bom-buffer-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-bom-buffer/download/strip-bom-buffer-0.1.0.tgz"},"directories":{},"publish_time":1444471899476,"_cnpm_publish_time":1444471899476,"_hasShrinkwrap":false}},"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._","_attachments":{},"homepage":"https://github.com/jonschlinkert/strip-bom-buffer","bugs":{"url":"https://github.com/jonschlinkert/strip-bom-buffer/issues"},"license":"MIT"}