v0.9.2 - Enhanced Browser Detection
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
browserfield toSystemInfoobject withnameandversionproperties - 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
- Demo: https://fingerprint-oss.gossorg.in/
- GitHub: https://github.com/IntegerAlex/fingerprint-oss
- NPM: https://www.npmjs.com/package/fingerprint-oss
- Documentation: https://docs.fingerprint-oss.gossorg.in
馃檹 Credits
This release includes the Bowser library (MIT License) by Dustin Diaz and Denis Demchenko, integrated directly into the project.