Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughsk/chrome-location
Approximates the current location of Google Chrome on your system
https://github.com/hughsk/chrome-location
Last synced: 12 days ago
JSON representation
Approximates the current location of Google Chrome on your system
- Host: GitHub
- URL: https://github.com/hughsk/chrome-location
- Owner: hughsk
- License: other
- Created: 2014-10-08T22:35:54.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-22T19:58:30.000Z (over 7 years ago)
- Last Synced: 2024-04-24T21:21:41.235Z (7 months ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 18
- Watchers: 5
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# chrome-location [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)
Approximates the current location of Google Chrome on your system.
Originally sourced from [karma-chrome-launcher](http://git.io/MRU84Q).
## Usage
[![NPM](https://nodei.co/npm/chrome-location.png)](https://nodei.co/npm/chrome-location/)
### `location = require('chrome-location')`
Returns the path to Google Chrome as a string.
### CLI Usage
`stdout` path to Chrome:
```bash
> chrome-location
# /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
```Open Chrome (remember to use quotes as Chrome's path usually has spaces in it):
```bash
> "`chrome-location`"
```## License
MIT. See [LICENSE.md](http://github.com/hughsk/chrome-location/blob/master/LICENSE.md) for details.