destroy

destroy a stream if possible

Destroy

Destroy a stream.

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