Skip to content

KSXGitHub/deno-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno Tree

Test

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

License

MIT © Hoàng Văn Khải