{
  "_id": "remove-bom-buffer",
  "maintainers": [
    {
      "name": "jonschlinkert",
      "email": "github@sellside.com"
    }
  ],
  "keywords": [
    "bom",
    "buffer",
    "byte-order-mark",
    "normalize",
    "remove",
    "strip",
    "strip-bom",
    "strip-bom-buffer",
    "strip-bom-string"
  ],
  "dist-tags": {
    "latest": "3.0.0"
  },
  "author": {
    "name": "Jon Schlinkert",
    "url": "https://github.com/jonschlinkert"
  },
  "_rev": "3-a0569ea8ce6a60a400551c19d3d00589",
  "description": "Remove a byte order mark (BOM) from a buffer.",
  "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._",
  "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",
  "versions": {
    "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": {
        "integrity": "sha512-jEO0E5o2SUVjiLm4ywsTlZHhmCpD4an5RwQi3+aqGIR7pF3xyGigo4rINX7QAtxluKdpM7moeaN3hM92Sd94aw==",
        "shasum": "16ebf2d3c91e943665581fa63ecdb212836d816c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/remove-bom-buffer/-/remove-bom-buffer-1.0.0.tgz",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIBvmj240iLvA0ksvWEKPYppgfWfTDGpkoumgdH/SusFjAiAxPkdeykmeHPHpwofRt613djaHL9X92Sk+9Sj0p+WnAg=="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/remove-bom-buffer-1.0.0.tgz_1497658332764_0.8564766009803861"
      }
    },
    "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": {
        "integrity": "sha512-bb/129xdJoOVddhJshEyYLsS9k17YsqJqS0QPzW9+NAO+epYMAiTSqqVbLEP2EqiehBrewuWKJdnbPUFuqUowQ==",
        "shasum": "0d40d86f141019c339baa34db6bc8d0c207b3fc8",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/remove-bom-buffer/-/remove-bom-buffer-2.0.0.tgz",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDPv0cYxY32Fex3/93Gl4rfoosw6WXPuVsO4ZzRAd7wEQIhAMcKCW4ykjQuCkxp+HAbyoiY/IWf5yfpuAq5+6nn8uYy"
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/remove-bom-buffer-2.0.0.tgz_1497658524738_0.6267564098816365"
      }
    },
    "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": {
        "integrity": "sha512-8v2rWhaakv18qcvNeli2mZ/TMTL2nEyAKRvzo1WtnZBl15SHyEhrCu2/xKlJyUFKHiHgfXIyuY6g2dObJJycXQ==",
        "shasum": "c2bf1e377520d324f623892e33c10cac2c252b53",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIEJ6lEQJMudH7nzTuGlF7s+SGZAZrihzDo/JQULKuVQGAiA/4SGpS64iQBDNWSBitazWCNOm5EOaO8tbVOMYPyBjug=="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/remove-bom-buffer-3.0.0.tgz_1499280045946_0.36108604609034956"
      }
    }
  },
  "name": "remove-bom-buffer",
  "time": {
    "modified": "2026-05-20T15:56:31.303Z",
    "created": "2017-06-17T00:12:13.753Z",
    "1.0.0": "2017-06-17T00:12:13.753Z",
    "2.0.0": "2017-06-17T00:15:25.766Z",
    "3.0.0": "2017-07-05T18:40:47.841Z"
  },
  "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"
    }
  ],
  "readmeFilename": "README.md",
  "homepage": "https://github.com/jonschlinkert/remove-bom-buffer"
}