file-finder

0.1.2 • Public • Published

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
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i file-finder

      Weekly Downloads

      0

      Version

      0.1.2

      License

      none

      Last publish

      Collaborators

      • mvegeto