mirror of
https://github.com/nodejs/node.git
synced 2025-05-13 09:12:56 +00:00
![]() Contains the following npm releases: - v3.9.0: https://github.com/npm/npm/releases/tag/v3.9.0 - v3.9.1: https://github.com/npm/npm/releases/tag/v3.9.1 - v3.9.2: https://github.com/npm/npm/releases/tag/v3.9.2 - v3.9.3: https://github.com/npm/npm/releases/tag/v3.9.3 PR-URL: https://github.com/nodejs/node/pull/7030 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> |
||
---|---|---|
.. | ||
example | ||
node_modules/fstream-ignore | ||
test | ||
.npmignore | ||
.travis.yml | ||
fstream-npm.js | ||
LICENSE | ||
package.json | ||
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))
})