oef/node_modules/readdir-scoped-modules
2019-11-04 15:00:46 +01:00
..
test First commit 2019-11-04 15:00:46 +01:00
.travis.yml First commit 2019-11-04 15:00:46 +01:00
LICENSE First commit 2019-11-04 15:00:46 +01:00
package.json First commit 2019-11-04 15:00:46 +01:00
readdir.js First commit 2019-11-04 15:00:46 +01:00
README.md First commit 2019-11-04 15:00:46 +01:00

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']
})