node/deps/npm/node_modules/fstream-npm
Rebecca Turner 41923c0c07 deps: upgrade npm to 3.3.6
PR-URL: https://github.com/nodejs/node/pull/3310
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-10-22 13:56:09 -04:00
..
example deps: upgrade npm to 2.7.4 2015-03-30 14:34:39 -07:00
test deps: upgrade to npm 2.14.2 2015-09-06 21:38:09 +10:00
.npmignore deps: upgrade npm to 2.7.4 2015-03-30 14:34:39 -07:00
.travis.yml deps: upgrade to npm 2.14.2 2015-09-06 21:38:09 +10:00
fstream-npm.js deps: upgrade to npm 2.14.2 2015-09-06 21:38:09 +10:00
LICENSE npm: Update to v1.4.23 2014-08-19 11:17:36 -04:00
package.json deps: upgrade npm to 3.3.6 2015-10-22 13:56:09 -04:00
README.md Upgrade npm to 1.1.14 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))
  })