Nodejs module for finding files?

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 ... 
+7
source share
2 answers

In addition to @pksunkara's answer:

+9
source
+2
source

All Articles