node.js library for detection of installed browsers and their management
It supports detection of following browsers:
- Linux – Chrome, Firefox
- Windows – Chrome, Firefox
import {detectorFactory} from "browser-installations";
const detector = detectorFactory("chrome");
const chromeMetadata = detector.detect();
console.log(`Chrome version: ${chromeMetadata.version}`);
It also supports disabling of browser autoupdates. It is currently available for Chrome on both Linux and Windows. Note: this functionality needs to be run under administrator account since it handles system files.
import {managerFactory} from "browser-installations";
const manager = managerFactory("chrome");
await manager.setUpdates(false);
Tool history can be found in CHANGELOG.md