browserslist / caniuse-lite

A smaller version of caniuse-db, with only the essentials!
Creative Commons Attribution 4.0 International
547 stars 77 forks source link

Use MDN browser compat data in addition to the caniuse database, like the caniuse website does #99

Open yurijmikhalevich opened 2 years ago

yurijmikhalevich commented 2 years ago

This: https://github.com/mdn/browser-compat-data

ai commented 2 years ago

We already do is for specific data https://github.com/browserslist/caniuse-lite/blob/main/copy-mdn.js

But I need somebody with internal motivation to do a huge refactoring properly.

romainmenke commented 2 years ago

https://github.com/w3c/webref/issues/597#issuecomment-1165698931

Some figures, quickly looking at sources:

bcd defines 13717 features Can I use defines 529 features chrome platform status defines 2153 features webkit status defines 154 features (102 "specs", 52 "features")

I don't think this is possible while also keeping it lite. BCD is much more granular and tracks a lot more features than caniuse.

Manually adding specific data might be the best of both. Improving the flow to add this data might be interesting.