mozilla-get-url
Find the url where a given mozilla product lives for all kinds of branches / releases / pre-releases.
Inspired by firefox-get which I initially contributed to for the
b2g-support... The primary difference is mozilla-get-url is designed to handle most mozilla products up front and
uses ftp rather then html scraping.
Usage
var locate = require('mozilla-get-url');
var options = {
channel: null,
os: 'mac',
branch: '17.0',
language: 'en-US',
product: 'firefox',
};
locate(options, function(err, url) {
url;
});
CLI Usage
mozilla-get-url --os mac
mozilla-get-url --channel tinderbox --os mac --branch mozilla-central --product b2g