Skip to content

Nexus-Mods/node-turbowalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turbowalk

When recursing through a directory tree, one needs to know if a directory entry is a directory or not. On windows, when reading a directory, the OS already provides that information but fs.readdir in node.js drops that information since it's API only provides file names. So when implementing a recursion algorithm one has to stat each entry again, which has a significant performance cost.

This library implements directory recursion optimized for windows. I would assume an implementation for Linux and MacOS would not be slower than a readdir based approach though.

Supported OS

  • Windows

About

Faster directory iteration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors