1.1.0 • Published 5 years ago

readdir-scoped-modules v1.1.0

Weekly downloads
2,954,723
License
ISC
Repository
github
Last release
5 years ago

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