Files
2016-10-26 14:09:13 -04:00
..
2015-03-30 14:34:39 -07:00
2016-10-26 14:09:13 -04:00
2015-03-30 14:34:39 -07:00
2015-12-23 08:38:33 -08:00
2014-08-19 11:17:36 -04:00
2012-03-28 19:36:44 -07:00

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))
  })