socketioMEANseed/server/node_modules/destroy/README.md
server/node_modules/destroy/README.mdRaw
1# Destroy
2
3[![NPM version][npm-image]][npm-url]
4[![Build status][travis-image]][travis-url]
5[![Test coverage][coveralls-image]][coveralls-url]
6[![Dependency Status][david-image]][david-url]
7[![License][license-image]][license-url]
8[![Downloads][downloads-image]][downloads-url]
9[![Gittip][gittip-image]][gittip-url]
10
11Destroy a stream.
12
13## API
14
15```js
16var destroy = require('destroy')
17
18var fs = require('fs')
19var stream = fs.createReadStream('package.json')
20destroy(stream)
21```
22
23[npm-image]: https://img.shields.io/npm/v/destroy.svg?style=flat-square
24[npm-url]: https://npmjs.org/package/destroy
25[github-tag]: http://img.shields.io/github/tag/stream-utils/destroy.svg?style=flat-square
26[github-url]: https://github.com/stream-utils/destroy/tags
27[travis-image]: https://img.shields.io/travis/stream-utils/destroy.svg?style=flat-square
28[travis-url]: https://travis-ci.org/stream-utils/destroy
29[coveralls-image]: https://img.shields.io/coveralls/stream-utils/destroy.svg?style=flat-square
30[coveralls-url]: https://coveralls.io/r/stream-utils/destroy?branch=master
31[david-image]: http://img.shields.io/david/stream-utils/destroy.svg?style=flat-square
32[david-url]: https://david-dm.org/stream-utils/destroy
33[license-image]: http://img.shields.io/npm/l/destroy.svg?style=flat-square
34[license-url]: LICENSE.md
35[downloads-image]: http://img.shields.io/npm/dm/destroy.svg?style=flat-square
36[downloads-url]: https://npmjs.org/package/destroy
37[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square
38[gittip-url]: https://www.gittip.com/jonathanong/