Browserslist: Is it possible to detect whether current browser matches given query in runtime?

Created on 30 Sep 2016  路  3Comments  路  Source: browserslist/browserslist

E.g, I'd like to inform an user, that their browser doesn't fit in 'last 1 version, > 10%'

Most helpful comment

There is a package for this now - https://github.com/pastelsky/browserlist-useragent

All 3 comments

Hm. Interesting question. You could write barowserslist-useragent to generate CanIUse鈥檚 browser name by User Agent.

Di you want to develop this module?

There is a package for this now - https://github.com/pastelsky/browserlist-useragent

@pastelsky Awesome, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eligao picture eligao  路  8Comments

joemaller picture joemaller  路  7Comments

shellscape picture shellscape  路  6Comments

galvarez421 picture galvarez421  路  10Comments

ai picture ai  路  10Comments