uppity

Search upwards for files.

npm install uppity
23 downloads in the last week
38 downloads in the last month

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.

Build Status Packages Dev Packages

Usage

Install via NPM. npm install uppity

var uppity = require("uppity"),
    files;

files = uppity("*.txt");

uppity(pattern, [options])

  • pattern {String} Pattern to be matched
  • options {Object} glob options
npm loves you