Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanhauhau/find-up-glob-cli
Find a file by walking up parent directories
https://github.com/tanhauhau/find-up-glob-cli
Last synced: 21 days ago
JSON representation
Find a file by walking up parent directories
- Host: GitHub
- URL: https://github.com/tanhauhau/find-up-glob-cli
- Owner: tanhauhau
- License: mit
- Created: 2016-05-07T08:47:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-07T09:30:19.000Z (over 8 years ago)
- Last Synced: 2024-05-01T13:30:55.772Z (6 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# find-up-glob-cli
[![travis status](https://img.shields.io/travis/tanhauhau/find-up-glob-cli.svg)](https://travis-ci.org/tanhauhau/find-up-glob-cli)
[![npm version](https://img.shields.io/npm/v/find-up-glob-cli.svg)](https://www.npmjs.com/package/find-up-glob-cli)
[![npm download](https://img.shields.io/npm/dt/find-up-glob-cli.svg)](https://www.npmjs.com/package/find-up-glob-cli)
[![david dependency](https://img.shields.io/david/tanhauhau/find-up-glob-cli.svg)]()> Find a file by walking up parent directories
>
> Like [find-up-cli](https://github.com/sindresorhus/find-up-cli) but using [minimatch](https://github.com/isaacs/minimatch)# Installation
```bash
$ npm install --global find-up-glob-cli
```# Usage
```
/
└── Users
└── tanhauhau
├── unicorn.png
└── foo
└── bar
├── a.js
└── b.js
└── awesome.txt
└── super.txt
``````bash
$ echo $PWD
/Users/tanhauhau/foo/bar$ find-up-glob *.js
/Users/tanhauhau/foo/bar/a.js
/Users/tanhauhau/foo/bar/b.js
```# Related
* [find-up](https://www.npmjs.com/package/find-up)
* [find-up-glob](https://www.npmjs.com/package/find-up-glob) API# License
MIT