summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/readdir-scoped-modules/README.md
blob: ade57a186dc73a6e4765a86cb33b74225c7e9a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# readdir-scoped-modules

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

Used by npm.

## USAGE

```javascript
var readdir = require('readdir-scoped-modules')

readdir('node_modules', function (er, entries) {
  // entries will be something like
  // ['a', '@org/foo', '@org/bar']
})
```