/ archiveofbelonging.org / back / node_modules / findup-sync /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE6 years ago1.2K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[TXT]README.md6 years ago2.1Kf12eb36 documentaiton updates [كارل مبارك]
[   ]index.js6 years ago2.0K 
[   ]package.json2 years ago2.5K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
README.md

findup-sync

NPM version Downloads Travis Build Status AppVeyor Build Status Coveralls Status Gitter chat

Find the first file matching a given pattern in the current directory or the nearest ancestor directory.

Matching is done with micromatch, please report any matching related issues on that repository.

Usage

var findup = require('findup-sync');
findup(patternOrPatterns [, micromatchOptions]);

// Start looking in the CWD.
var filepath1 = findup('{a,b}*.txt');

// Start looking somewhere else, and ignore case (probably a good idea).
var filepath2 = findup('{a,b}*.txt', {cwd: '/some/path', nocase: true});

API

findup(patterns, [options])

License

MIT

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80