You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
isaacs 1ac05cc5ad Upgrade npm to 1.1.18 13 years ago
..
node_modules/fstream-ignore Upgrade npm to 1.1.18 13 years ago
.npmignore Update npm to 1.1.16 13 years ago
README.md Update npm to 1.1.16 13 years ago
fstream-npm.js Upgrade npm to 1.1.18 13 years ago
package.json Upgrade npm to 1.1.18 13 years ago

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