find-up-all

Find all instances of a file or folder in parent directories

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
find-up-all
1.0.24 years ago4 years agoMinified + gzip package size for find-up-all in KB

Readme

find-up-all Build Status

Install

$ npm install find-up-all

API

findUpAll(filename, options)

Returns a Promise for an array of absolute paths of matching files or folders

findUpAll.sync(filename, options)

Returns an array of absolute paths of matching files or folders

options

Type: Object
options.cwd
Optional. The directory where the search should start.
options.end
Optional. Last parent directory that should be searched. If not set, findUpAll will search all the way up to the filesystem root.