node package manager

dethroy

destroy a stream if possible

Dethroy Build Status

Destroy a stream.

API

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