https://github.com/callmecavs/reread
Recursively read paths to all files within a folder and its subfolders.
https://github.com/callmecavs/reread
readdir recursive
Last synced: about 1 year ago
JSON representation
Recursively read paths to all files within a folder and its subfolders.
- Host: GitHub
- URL: https://github.com/callmecavs/reread
- Owner: callmecavs
- Created: 2016-07-09T03:46:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T01:54:27.000Z (over 9 years ago)
- Last Synced: 2025-02-09T14:02:18.214Z (about 1 year ago)
- Topics: readdir, recursive
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reread
[](https://www.npmjs.com/package/reread)
Recursively read paths to all files within a folder and its subfolders. Returns a `Promise`.
## Install
```
npm i reread --save
```
## Usage
```es6
const reread = require('reread')
reread('some/path')
.then(result => console.log(result)) // result is an array of file paths
.catch(error => console.log(error))
```
## License
[MIT](https://opensource.org/licenses/MIT). © 2016 Michael Cavalea
[](http://forthebadge.com)