Blog
JavaScript Snippet – Recurse A Directory Synchronously
Recently I took a look at making HTML5 programs that will work on Mac, Linux and Windows via Electron and needed a way to recurse a directory synchronously in Node.js. I ended up with the following code: The above function allows us to recursively get the contents of a directory. Read more…