Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Mar 26, 2012
0 parents commit 147816d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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:

```javascript
// 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))
})
```

0 comments on commit 147816d

Please sign in to comment.