motion
Version:
motion - moving development forward
82 lines (81 loc) • 3.25 kB
JSON
{
"_args": [
[
"strip-bom-stream@https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "strip-bom-stream@>=1.0.0 <2.0.0",
"_id": "strip-bom-stream@1.0.0",
"_inCache": true,
"_location": "/strip-bom-stream",
"_phantomChildren": {},
"_requested": {
"name": "strip-bom-stream",
"raw": "strip-bom-stream@https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz",
"rawSpec": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/vinyl-file"
],
"_resolved": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz",
"_shasum": "e7144398577d51a6bed0fa1994fa05f43fd988ee",
"_shrinkwrap": null,
"_spec": "strip-bom-stream@https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.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-stream/issues"
},
"dependencies": {
"first-chunk-stream": "^1.0.0",
"strip-bom": "^2.0.0"
},
"description": "Strip UTF-8 byte order mark (BOM) from a stream",
"devDependencies": {
"ava": "0.0.4",
"concat-stream": "^1.4.5"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/strip-bom-stream#readme",
"keywords": [
"bom",
"byte",
"delete",
"mark",
"remove",
"stream",
"streams",
"strip",
"text",
"trim",
"unicode",
"utf-8",
"utf8"
],
"license": "MIT",
"name": "strip-bom-stream",
"optionalDependencies": {},
"readme": "# strip-bom-stream [](https://travis-ci.org/sindresorhus/strip-bom-stream)\n\n> Strip UTF-8 [byte order mark](http://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a 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## Install\n\n```\n$ npm install --save strip-bom-stream\n```\n\n\n## Usage\n\n```js\nvar fs = require('fs');\nvar stripBomStream = require('strip-bom-stream');\n\nfs.createReadStream('unicorn.txt')\n\t.pipe(stripBomStream())\n\t.pipe(fs.createWriteStream('unicorn.txt'));\n```\n\nIt's a [Transform stream](http://nodejs.org/api/stream.html#stream_class_stream_transform).\n\n\n## Related\n\n- [strip-bom](https://github.com/sindresorhus/strip-bom-stream) - Strip UTF-8 byte order mark (BOM) from a string/buffer\n- [strip-bom-cli](https://github.com/sindresorhus/strip-bom-cli) - CLI for 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-stream.git"
},
"scripts": {
"test": "node test.js"
},
"version": "1.0.0"
}