JSPM

readdir-scoped-modules

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2678762
  • Score
    100M100P100Q12450F
  • License ISC

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

Package Exports

  • readdir-scoped-modules

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (readdir-scoped-modules) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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