motion
Version:
motion - moving development forward
78 lines (77 loc) • 3.65 kB
JSON
{
"_args": [
[
"destroy@https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "destroy@1.0.3",
"_id": "destroy@1.0.3",
"_inCache": true,
"_location": "/destroy",
"_phantomChildren": {},
"_requested": {
"name": "destroy",
"raw": "destroy@https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz",
"rawSpec": "https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz",
"type": "remote"
},
"_requiredBy": [
"/send",
"/serve-static/send"
],
"_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz",
"_shasum": "b433b4724e71fd8551d9885174851c5fc377e2c9",
"_shrinkwrap": null,
"_spec": "destroy@https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "me@jongleberry.com",
"name": "Jonathan Ong",
"url": "http://jongleberry.com"
},
"bugs": {
"url": "https://github.com/stream-utils/destroy/issues"
},
"contributors": [
{
"name": "Douglas Christopher Wilson",
"email": "doug@somethingdoug.com"
}
],
"dependencies": {},
"description": "destroy a stream if possible",
"devDependencies": {
"istanbul": "0",
"mocha": "1"
},
"files": [
"index.js"
],
"homepage": "https://github.com/stream-utils/destroy#readme",
"keywords": [
"cleanup",
"destroy",
"fd",
"leak",
"stream",
"streams"
],
"license": "MIT",
"name": "destroy",
"optionalDependencies": {},
"readme": "# Destroy\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n[![Gittip][gittip-image]][gittip-url]\n\nDestroy a stream.\n\n## API\n\n```js\nvar destroy = require('destroy')\n\nvar fs = require('fs')\nvar stream = fs.createReadStream('package.json')\ndestroy(stream)\n```\n\n[npm-image]: https://img.shields.io/npm/v/destroy.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/destroy\n[github-tag]: http://img.shields.io/github/tag/stream-utils/destroy.svg?style=flat-square\n[github-url]: https://github.com/stream-utils/destroy/tags\n[travis-image]: https://img.shields.io/travis/stream-utils/destroy.svg?style=flat-square\n[travis-url]: https://travis-ci.org/stream-utils/destroy\n[coveralls-image]: https://img.shields.io/coveralls/stream-utils/destroy.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/stream-utils/destroy?branch=master\n[david-image]: http://img.shields.io/david/stream-utils/destroy.svg?style=flat-square\n[david-url]: https://david-dm.org/stream-utils/destroy\n[license-image]: http://img.shields.io/npm/l/destroy.svg?style=flat-square\n[license-url]: LICENSE.md\n[downloads-image]: http://img.shields.io/npm/dm/destroy.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/destroy\n[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square\n[gittip-url]: https://www.gittip.com/jonathanong/\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/stream-utils/destroy.git"
},
"scripts": {
"test": "mocha --reporter spec",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
},
"version": "1.0.3"
}