Detalhes do pacote

dethroy

stream-utils11.5kMIT1.0.2

destroy a stream if possible

readme (leia-me)

Dethroy Build Status

Destroy a stream.

API

var destroy = require('dethroy')

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

changelog (log de mudanças)

1.0.2 / 2014-08-14

  • Work around fd leak in Node.js 0.10 for fs.ReadStream

1.0.1 / 2014-06-10

  • Don't call .close on object without .destroy

1.0.0 / 2013-12-30

  • Initial release