tree: a0fdb0293ed845c1442f5b4274d1029a22fa345d [path history] [tgz]
  1. example/
  2. node_modules/
  3. .npmignore
  4. fstream-npm.js
  5. LICENCE
  6. package.json
  7. README.md
csrc/node-v0.10.24/deps/npm/node_modules/fstream-npm/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))
  })