https://github.com/b3yc0d3/browser-detection-library
Fast and Lightweight way to detect browsers.
https://github.com/b3yc0d3/browser-detection-library
bdl-js browser browser-detection browser-detection-library es5-es6 javascript javascript-library javascript-vanilla
Last synced: 7 months ago
JSON representation
Fast and Lightweight way to detect browsers.
- Host: GitHub
- URL: https://github.com/b3yc0d3/browser-detection-library
- Owner: b3yc0d3
- License: mpl-2.0
- Created: 2022-09-25T18:07:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T16:31:15.000Z (almost 3 years ago)
- Last Synced: 2023-08-03T01:11:53.809Z (over 2 years ago)
- Topics: bdl-js, browser, browser-detection, browser-detection-library, es5-es6, javascript, javascript-library, javascript-vanilla
- Language: JavaScript
- Homepage:
- Size: 535 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/b3yc0d3/browser-detection-library/blob/master/CHANGELOG.md)

[](https://github.com/b3yc0d3/browser-detection-library/blob/master/LICENSE)
# 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](/docs)
## Build it your self
```console
$ 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](#build-it-your-self)*
## Code Snippet
```js
// 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
- https://en.wikipedia.org/wiki/List_of_Apple_codenames#Applications
- https://wiki.mozilla.org/Firefox/Codenames
## Credits
### Logo:
- https://www.svgrepo.com/svg/153954/browser
- https://www.svgrepo.com/svg/126178/question-mark