JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 45015146
  • Score
    100M100P100Q261282F
  • License MIT

destroy a stream if possible

Package Exports

  • destroy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (destroy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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)