Read directory and return promise or directory object with files
-
Updated
Mar 7, 2015 - JavaScript
Read directory and return promise or directory object with files
readdirSync with some useful options: recursively, exclude name and ext, get only file or directory.
fsPromises.readdir withFileTypes ponyfill https://nodejs.org/dist/latest-v10.x/docs/api/fs.html#fs_fspromises_readdir_path_options
List all files in a given directory
Like `fs.readdir`, but excludes autogenerated contents for example .DS_Store and Thumbs.db
Run `fs.lstat()` for all contents in a given directory
Like `fs.promises.readdir()`, but sorts the result based on `String#localeCompare()`
fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!
Customizeable async recursive fs.readdir with no dependencies and sane defaults
📖 Provides recursive readdir() and readdirSync() functions. 📁
Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.
List React component files inside a directory
Add a description, image, and links to the readdir topic page so that developers can more easily learn about it.
To associate your repository with the readdir topic, visit your repo's landing page and select "manage topics."