Skip to content
fstream class for creating npm packages
Find file
Latest commit d57b6b2 @othiym23 othiym23 1.0.7
Failed to load latest commit information.
example src: update fstream-npm to follow standard style
test Allow config.gypi outside of build directory
.gitignore fstream-npm doesn't bundle
.travis.yml build: get caught up on Travis
LICENSE isc license
fstream-npm.js Allow config.gypi outside of build directory
package.json 1.0.7


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.