0.2.0 • Published 11 years ago
safari-location v0.2.0
safari-location 
Approximates the current location of Safari on your system.
Based on chrome-location.
Usage
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):
> safari-location
# /Applications/Safari.app/Contents/MacOS/SafariOpen Safari (you'll need to use quotes if Safari's path has spaces in it):
> "`safari-location`"License
MIT. See LICENSE.md for details.