node/deps/npm/node_modules/fstream-npm
isaacs 3dd7938c03 npm: upgrade to 1.2.15 2013-03-20 17:49:57 -07:00
..
example npm: upgrade to 1.1.41 2012-07-13 12:08:17 -07:00
node_modules/fstream-ignore npm: Upgrade to 1.2.2 2013-01-18 08:37:32 -08:00
.npmignore Upgrade npm to 1.1.14 2012-03-28 19:36:44 -07:00
LICENCE Do not gitignore npm's node_modules 2012-06-11 09:54:39 -07:00
README.md Upgrade npm to 1.1.14 2012-03-28 19:36:44 -07:00
fstream-npm.js npm: upgrade to 1.2.15 2013-03-20 17:49:57 -07:00
package.json npm: upgrade to 1.2.15 2013-03-20 17:49:57 -07:00

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