You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.5 KiB

Destroy

NPM version Build status Test coverage Dependency Status License Downloads Gittip

Destroy a stream.

API

var destroy = require('destroy')

var fs = require('fs')
var stream = fs.createReadStream('package.json')
destroy(stream)