An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# reread

[![reread on NPM](https://img.shields.io/npm/v/reread.svg?style=flat-square)](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

[![Built With Love](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com)