0.1.1 • Published 9 years ago

locate-firefox v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

locate-firefox experimental

Find Firefox on your system.

Usage

var locateFirefox = require('locate-firefox');
// Use a callback
locateFirefox(function(l) {
  console.log(l);
});
// Use the returned Promise
locateFirefox.then(function(l) {
  console.log(l);
});

CLI Usage

stdout path to Firefox (or null):

> locate-firefox
# /Applications/Firefox.app/Contents/MacOS/Firefox

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

> "`locate-firefox`"