Search upwards, returning all files that match the glob filter.
JavaScript
Switch branches/tags
Nothing to show
Latest commit f9da628 Dec 11, 2013 @tivac tivac Readme tweak
Permalink
Failed to load latest commit information.
lib Implementation & tests Sep 11, 2013
test Implementation & tests Sep 11, 2013
.gitattributes Setting things up Sep 11, 2013
.gitignore Setting things up Sep 11, 2013
.jshintrc Setting things up Sep 11, 2013
.travis.yml CI Sep 11, 2013
package.json Bitdeli badge, package updates Dec 11, 2013
readme.md Readme tweak Dec 11, 2013

readme.md

uppity

Build Status Packages Dev Packages Bitdeli Badge

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

var uppity = require("uppity"),
    files;
    
files = uppity("*.txt");

uppity(pattern, [options])

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