Deno Tree
Deno's library to traverse filesystem tree.
Usage
Async
import traverse from 'https://ksxgithub.github.io/deno-tree/async.ts'
for await (const item of traverse('.', () => true)) {
console.log(
item.isDirectory ? 'dir' : 'file',
item.container + '/' + item.info.name
)
}
TODO
- Test
- Sync version