node.js library for detection of versions of installed browsers
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
assets
spec
src
.gitignore
.npmignore
.travis.before-install.sh
.travis.yml
CHANGELOG.md
LICENSE
README.md
package-lock.json
package.json
tsconfig.json

README.md

browser-installations

node.js library for detection of installed browsers and their management

Installations

It supports detection of following browsers:

  • Linux – Chrome, Firefox
  • Windows – Chrome, Firefox

Example of detecting installed Chrome version (Typescript)

import {detectorFactory} from "browser-installations";
const detector = detectorFactory("chrome");
const chromeMetadata = detector.detect();
console.log(`Chrome version: ${chromeMetadata.version}`);

Management

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.

Example of disabling auto updates of Chrome (Typescript)

import {managerFactory} from "browser-installations";
const manager = managerFactory("chrome");
await manager.setUpdates(false);

Changelog

Tool history can be found in CHANGELOG.md