Skip to content

arenanet/uppity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uppity

test

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 matched
  • options {Object} glob options

About

Search upwards, returning all files that match the glob filter.

Resources

Stars

0 stars

Watchers

32 watching

Forks

Packages

 
 
 

Contributors