uppity
v2.0.1
Published
Search upwards for files.
Downloads
318
Keywords
Readme
uppity
Glob every directory in the current branch of the file system tree, returning files that match in order from closest to furthest. Synchronously, because this is intended for CLI usage.
This is pretty new, findup-sync may be more like what you're after.
Usage
Install via NPM: npm install uppity
const uppity = require("uppity");
const files = uppity("*.txt");
uppity(pattern, [options])
pattern
{String}
Pattern to be matchedoptions
{Object}
glob options