tree: 41a04efa19e0209f33c00d7e688bf4d1e359eba1 [path history] [tgz]
  1. LICENSE
  2. package.json
  3. readdir.js
  4. README.md
src/third_party/devtools/node_modules/readdir-scoped-modules/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']
})