Skip to content

b3yc0d3/browser-detection-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version Browsers MPL-2.0

browser-detection-library

Fast and Lightweight way to detect browsers.

Browser Support

Browser Version Architecture Status
Brave 1.43.93 (Chromium: 105.0.5195.127) x86_64 Success
Chromium 105.0.5195.125 x86_64 Success
Microsoft Edge 105.0.1343.50 x86_64 Success
FireFox 105.0 x86_64, ARM Success
IE 11 11.09600.17416 x86_64 Success
Opera 90.0.4480.84 x86_64 Success
Safari 13.1.3 (15609.4.1) x86_64 Success
DuckDuckGo 5 (107.0.5304.105) ARM Success

Your needed browser isn't supported yet?
Create a feature request!

Documentation

Current documentation

Build it your self

$ clone https://github.com/b3yc0d3/browser-detection-library.git
$ cd browser-detection-library
$ npm i
$ npm run build

The build files are be found in build/
A working example demo can be found in: demo/
Bulding required before useable; CLICK

Code Snippet

// Get name of browser.
console.log(bdl.browser.name);

// Get name of browser vendor.
console.log(bdl.browser.vendor);

// Get name of browser id (internal used).
console.log(bdl.browser.id);

Sources

Browser Codenames

Credits

Logo: