This package has been deprecated

Author message:

This functionality has been moved to @npmcli/fs

readdir-scoped-modules

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

Readme

Keywords

none

Package Sidebar

Install

npm i readdir-scoped-modules

Weekly Downloads

2,226,430

Version

1.1.0

License

ISC

Unpacked Size

4.93 kB

Total Files

4

Last publish

Collaborators

  • hashtagchris
  • reggi
  • npm-cli-ops
  • saquibkhan
  • fritzy
  • gar