Nyalab / caniuse-api

request the caniuse data to check browsers compatibilities
MIT License
356 stars 27 forks source link

How to obtain current browser? #97

Open DianaLaa opened 2 years ago

DianaLaa commented 2 years ago

I know it could be considered out of scope for caniuse-api, but I've been pulling my hair out searching how to detect the current browser to pass it into isSupported. Any suggestions? It would be very helpful to document some of it here.