readdir-scoped-modules

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

This functionality has been moved to @npmcli/fs
Last updated 10 years ago by zkat .
ISC · Repository · Bugs · Original npm
$ cnpm install readdir-scoped-modules 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (6 years ago)

2 Versions

  • 1.0.2 [deprecated]           ...           10 years ago
  • 1.1.0                                ...           6 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org