Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 470 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 470 Bytes

FileFinder

This module searches a directory recursively for a file that matches some string key.

Installation

npm install file-finder

Usage

var FileFinder = require( 'file-finder' );

var options = {
    searchSubDirectories : true
}

FileFinder.findFiles( directory, searchString, options, function(error, matchingFiles) {
	...do some stuff with the files that matched the search string
});