I am looking for a module to search for files in nodejs.
I would like something like:
var finder = require('finder'); var path = finder.find('/path/to/*.js');
Then the path is an array, for example:
/path/to/file.js /path/to/sub/file.js ...
Charles
source share