Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
fstream class for creating npm packages

v1.0.1

latest commit 4a95e1903f
Isaac Z. Schlueter isaacs authored
Failed to load latest commit information.
example example output cleanup
.gitignore ignore some stuff in here
LICENSE isc license
README.md first
fstream-npm.js feature: always include licenses and changelogs
package.json v1.0.1

README.md

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))
  })
Something went wrong with that request. Please try again.