Directory entries can be obtained through asynchronous iteration:
const dirIter = await tjs.readdir('.');for await (const item of dirIter) { console.log(item.name);}
Path of the directory.
Closes the directory handle.
Rest
Optional
Generated using TypeDoc
Directory entries can be obtained through asynchronous iteration: