mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
…
|
||
---|---|---|
.. | ||
test | ||
.travis.yml | ||
LICENSE | ||
package.json | ||
readdir.js | ||
README.md |
readdir-scoped-modules
Like fs.readdir
but handling @org/module
dirs as if they were
a single entry.
Used by npm.
USAGE
var readdir = require('readdir-scoped-modules')
readdir('node_modules', function (er, entries) {
// entries will be something like
// ['a', '@org/foo', '@org/bar']
})