I am using Node.js.
Node.js
I want to check if folder is empty or not? One option is to use fs.readdir but it loads whole bunch of
What about globbing? ie, exists myDir/*. It is not supported out of box by node (TOW v0.10.15), but bunch of modules will do that for you, like minimatch
exists myDir/*