motion
Version:
motion - moving development forward
83 lines (82 loc) • 2.94 kB
JSON
{
"_args": [
[
"strip-bom@https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "strip-bom@>=2.0.0 <3.0.0",
"_id": "strip-bom@2.0.0",
"_inCache": true,
"_location": "/strip-bom",
"_phantomChildren": {},
"_requested": {
"name": "strip-bom",
"raw": "strip-bom@https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
"rawSpec": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/gulp-sourcemaps",
"/load-json-file",
"/strip-bom-stream",
"/vinyl-file"
],
"_resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
"_shasum": "6219a85616520491f35788bdbf1447a99c7e6b0e",
"_shrinkwrap": null,
"_spec": "strip-bom@https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/strip-bom/issues"
},
"dependencies": {
"is-utf8": "^0.2.0"
},
"description": "Strip UTF-8 byte order mark (BOM) from a string/buffer",
"devDependencies": {
"mocha": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/strip-bom#readme",
"keywords": [
"bom",
"buffer",
"byte",
"delete",
"mark",
"remove",
"string",
"strip",
"text",
"trim",
"unicode",
"utf-8",
"utf8"
],
"license": "MIT",
"name": "strip-bom",
"optionalDependencies": {},
"readme": "# strip-bom [](https://travis-ci.org/sindresorhus/strip-bom)\n\n> Strip UTF-8 [byte order mark](http://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a string/buffer\n\nFrom Wikipedia:\n\n> The Unicode Standard permits the BOM in UTF-8, but does not require nor recommend its use. Byte order has no meaning in UTF-8.\n\n\n## Install\n\n```\n$ npm install --save strip-bom\n```\n\n\n## Usage\n\n```js\nvar fs = require('fs');\nvar stripBom = require('strip-bom');\n\nstripBom('\\uFEFFunicorn');\n//=> 'unicorn'\n\nstripBom(fs.readFileSync('unicorn.txt'));\n//=> 'unicorn'\n```\n\n\n## Related\n\n- [strip-bom-cli](https://github.com/sindresorhus/strip-bom-cli) - CLI for this module\n- [strip-bom-stream](https://github.com/sindresorhus/strip-bom-stream) - Stream version of this module\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/strip-bom.git"
},
"scripts": {
"test": "mocha"
},
"version": "2.0.0"
}