layaair2-cmd
Version:
layaair version 2 toolkit
115 lines (114 loc) • 3.82 kB
JSON
{
"_args": [
[
{
"raw": "strip-bom@^1.0.0",
"scope": null,
"escapedName": "strip-bom",
"name": "strip-bom",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\vinyl-fs"
]
],
"_from": "strip-bom@>=1.0.0 <2.0.0",
"_id": "strip-bom@1.0.0",
"_inCache": true,
"_location": "/strip-bom",
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "1.4.9",
"_phantomChildren": {},
"_requested": {
"raw": "strip-bom@^1.0.0",
"scope": null,
"escapedName": "strip-bom",
"name": "strip-bom",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/vinyl-fs"
],
"_resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-1.0.0.tgz",
"_shasum": "85b8862f3844b5a6d5ec8467a93598173a36f794",
"_shrinkwrap": null,
"_spec": "strip-bom@^1.0.0",
"_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\vinyl-fs",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"bin": {
"strip-bom": "cli.js"
},
"bugs": {
"url": "https://github.com/sindresorhus/strip-bom/issues"
},
"dependencies": {
"first-chunk-stream": "^1.0.0",
"is-utf8": "^0.2.0"
},
"description": "Strip UTF-8 byte order mark (BOM) from a string/buffer/stream",
"devDependencies": {
"concat-stream": "^1.4.5",
"mocha": "*"
},
"directories": {},
"dist": {
"shasum": "85b8862f3844b5a6d5ec8467a93598173a36f794",
"tarball": "https://registry.npmjs.org/strip-bom/-/strip-bom-1.0.0.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"cli.js",
"index.js"
],
"homepage": "https://github.com/sindresorhus/strip-bom#readme",
"keywords": [
"cli",
"bin",
"app",
"bom",
"strip",
"byte",
"mark",
"unicode",
"utf8",
"utf-8",
"remove",
"trim",
"text",
"buffer",
"string",
"stream",
"streams"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"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/stream\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## Usage\n\n```sh\n$ npm install --save strip-bom\n```\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\nOr as a [Transform stream](http://nodejs.org/api/stream.html#stream_class_stream_transform):\n\n```js\nvar fs = require('fs');\nvar stripBom = require('strip-bom');\n\nfs.createReadStream('unicorn.txt')\n\t.pipe(stripBom.stream())\n\t.pipe(fs.createWriteStream('unicorn.txt'));\n```\n\n\n## CLI\n\n```sh\n$ npm install --global strip-bom\n```\n\n```\n$ strip-bom --help\n\n Usage\n strip-bom <file> > <new-file>\n cat <file> | strip-bom > <new-file>\n\n Example\n strip-bom unicorn.txt > unicorn-without-bom.txt\n```\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": "1.0.0"
}