Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

readdir-scoped-modules

1.0.2 • Public • Published

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

Keywords

none

install

npm i readdir-scoped-modules

Downloadsweekly downloads

147,511

version

1.0.2

license

ISC

repository

githubgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar