find-up-glob-cli

Find a file by walking up parent directories


Keywords
find, up, find-up, findup, glob, find-up-glob, look-up, look, file, match, search, package, resolve, parent, parents, folder, directory, dir, walk, walking, path, pattern, minimatch, cli, cli-app
License
MIT
Install
npm install find-up-glob-cli@1.0.0

Documentation

find-up-glob-cli

travis status npm version npm download david dependency

Find a file by walking up parent directories

Like find-up-cli but using minimatch

Installation

$ npm install --global find-up-glob-cli

Usage

/
└── Users
    └── tanhauhau
        ├── unicorn.png
        └── foo
            └── bar
                ├── a.js
                └── b.js
            └── awesome.txt
            └── super.txt
$ echo $PWD
/Users/tanhauhau/foo/bar

$ find-up-glob *.js
/Users/tanhauhau/foo/bar/a.js
/Users/tanhauhau/foo/bar/b.js

Related

License

MIT