Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Node module for finding files within a directory that match some search string
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
README.md
file-finder.js
package.json
test.js

README.md

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
});
Something went wrong with that request. Please try again.