Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md « readdir-scoped-modules « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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']
})
```