JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 70958
  • Score
    100M100P100Q9936F
  • License ISC

fstream class for creating npm packages

Package Exports

  • fstream-npm

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 (fstream-npm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

fstream-npm

This is an fstream DirReader class that will read a directory and filter things according to the semantics of what goes in an npm package.

For example:

// This will print out all the files that would be included
// by 'npm publish' or 'npm install' of this directory.

var FN = require("fstream-npm")
FN({ path: "./" })
  .on("child", function (e) {
    console.error(e.path.substr(e.root.path.length + 1))
  })