Buckets:
1.39 GB
20,046 files
Updated 15 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| LICENSE | 1.1 kB xet | 17fdb7fe | |
| README.md | 2.07 kB xet | b7e39924 | |
| index.js | 611 Bytes xet | daa02aed | |
| package.json | 704 Bytes xet | a34a27b4 |
fs.readdirSyncRecursive
Read a directory recursively.
Install
npm install fs-readdir-recursive
Example
var read = require('fs-readdir-recursive')
read(__dirname) === [
'test/test.js',
'index.js',
'LICENSE',
'package.json',
'README.md'
]
API
read(root [, filter])
root is the directory you wish to scan. filter is an optional filter for the files with three params(name, index, dir). By default, filter is:
function (name) {
return name[0] !== '.'
}
Which basically just ignores . files.
- Total size
- 1.39 GB
- Files
- 20,046
- Last updated
- May 9
- Pre-warmed CDN
- US EU US EU