package
fstream class for creating npm packages
npm install fstream-npmGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
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))
})npm-cli-ops
npm-cli+bot@github.com
Estimated unpacked size across 10 packages.
1.5 MB
Includes dependencies.