node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

uppity

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