crawl-path
0.0.6 • Public • Published usage
import {crawlPath} from 'crawl-path'
let files = new Map
await crawlPath(path.join(__dirname, 'foo'), {
onDir: async (_files, _path, depth) => {
files.set(_path, _files)
},
onFile: async(file) => {
console.log(file)
}
})
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
0.0.6 | 1 | latest |
Version History
Package Sidebar
Install
Weekly Downloads