This package has been deprecated
Author message:
just use glob: https://www.npmjs.com/package/glob
async-walk
1.0.4 • Public • Published async-walk
Crossplatform promise-based recursive walk within folder. Requires ES6 support.
Install
npm install async-walk --save
Syntax
require('async-walk')(path)
path
<string>
path to folder
Returns Promise
which fulfills to array of absolute file paths.
Usage
const asyncWalk = require('async-walk')
asyncWalk('/some/folder')
.then(paths => {
console.log(paths)
})
.catch(console.log.bind(console))
Package Sidebar
Install
Weekly Downloads