2022-11-28
~3 min read
555 words
Turns out Node has for exactly this purpose. From the docs: Asynchronous readdir(3). Reads the contents of a directory. The callback gets…