readdir-scoped-modules

Like `fs.readdir` but handling `@org/module` dirs as if they were a single entry.

Showing:

Popularity

Downloads/wk

2.8M

GitHub Stars

2

Maintenance

Last Commit

3d ago

Contributors

1

Package

Dependencies

4

Size (min+gzip)

4.5KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100