Skip to content
Like `fs.readdir` but handling `@org/module` dirs as if they were a single entry.
Branch: master
Clone or download
Latest commit d41d5de Sep 10, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.travis.yml
LICENSE
README.md
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']
})
You can’t perform that action at this time.