Skip to content

v0.9.2 - Enhanced Browser Detection

Choose a tag to compare

@IntegerAlex IntegerAlex released this 25 Dec 06:07
· 137 commits to main since this release

Release v0.9.2 - Enhanced Browser Detection

馃殌 Major Improvements

Enhanced Browser Detection

  • Integrated Bowser library for industry-standard browser parsing
  • Accuracy improved from ~75% to ~98% for common browsers
  • Support for 100+ browsers (was ~20-30)
  • Better handling of browser aliases and edge cases
  • More reliable version parsing and normalization
  • Enhanced support for detecting specialized browsers (Electron, WebView, etc.)

New Features

  • Added browser field to SystemInfo object with name and version properties
  • Parser-based browser detection replaces regex matching
  • Better detection of Chromium-based browsers (Edge, Opera, Brave, etc.)
  • Improved mobile browser support

Technical Details

  • Bowser library integrated as internal module (no external dependency)
  • All Bowser source files converted to TypeScript with proper type annotations
  • Maintains 100% backward compatibility - existing code continues to work without changes

馃摝 Installation

npm install fingerprint-oss@0.9.2
# or
pnpm add fingerprint-oss@0.9.2
# or
yarn add fingerprint-oss@0.9.2

馃敡 Usage

The new browser field is automatically included in the SystemInfo object:

import userInfo from 'fingerprint-oss';

const data = await userInfo();
console.log(data.systemInfo.browser);
// { name: "Chrome", version: "120.0.0.0" }

馃摎 Documentation

馃敆 Links

馃檹 Credits

This release includes the Bowser library (MIT License) by Dustin Diaz and Denis Demchenko, integrated directly into the project.