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 5 years ago by isaacs .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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 (5 years ago)

4 Versions

  • 1.1.0 [deprecated]           ...           5 years ago
  • 1.0.2 [deprecated]           ...           9 years ago
  • 1.0.1 [deprecated]           ...           10 years ago
  • 1.0.0 [deprecated]           ...           10 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (1)

Copyright 2013 - present © cnpmjs.org | Home |