# safari-location

> Gets the current location of Safari on your system

Latest version **0.2.0** (published 2015-03-11) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install safari-location
pnpm add safari-location
yarn add safari-location
bun add safari-location
```

Provides the command `safari-location`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2015-03-11 |
| First published | 2015-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | David Clark |
| Maintainers | davidtheclark |
| Keywords | safari, browser, locate, find |

## Links

- npm: https://www.npmjs.com/package/safari-location
- Repository: https://github.com/davidtheclark/safari-location
- Issues: https://github.com/davidtheclark/safari-location/issues
- npm.io page: https://npm.io/package/safari-location

## Dependencies (3)

- [userhome](https://npm.io/package/userhome.md) ^1.0.0
- [es6-promise](https://npm.io/package/es6-promise.md) ^2.0.0
- [queue-async](https://npm.io/package/queue-async.md) ^1.0.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2015-03-11
- 0.1.0 — 2015-02-21

## README

# safari-location [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)

Approximates the current location of Safari on your system.

Based on [`chrome-location`](https://github.com/hughsk/chrome-location).

## Usage

```js
var safariLocation = require('safari-location');
// Use a callback
safariLocation(function(l) {
  console.log(l);
});
// Use the returned Promise
safariLocation.then(function(l) {
  console.log(l);
});
```

### CLI Usage

`stdout` path to Safari (or `null`):
```bash
> safari-location
# /Applications/Safari.app/Contents/MacOS/Safari
```

Open Safari (you'll need to use quotes if Safari's path has spaces in it):

```bash
> "`safari-location`"
```

## License

MIT. See [LICENSE.md](http://github.com/davidtheclark/safari-location/blob/master/LICENSE.md) for details.

---
_Source: https://npm.io/package/safari-location · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
