browser-detection
browser-detection copied to clipboard
Add isChromium and support web engines detection
There are more and more alternative browsers based on Chromium (Brave, Opera, Edge, Chromium, Arc, ...), in order to facilitate compatibility with as many browsers as possible, exposing an isChromium() would be really handy to quickly detect whether the browser is compatible with the proprietary APIs exposed by Chromium (MediaDevices, WebUSB, WebBluetooth, etc.).
Having detection by render engine would be really nice, like isGecko, isBlink, isWebKit, isPresto, isTrident, isEdgeHTML
This library supports render engines, if it can help for implementation: https://www.npmjs.com/package/@solid-primitives/platform