Question: caniuse-lite Features Query
See original GitHub issueI did a fair amount of searching in the repo and the webs for an answer before choosing to post, and I came up short. I’m in need of retrieving browsers that support native WebSocket
. caniuse-lite
does have a data file for that, but I only see the regions data from that module being used by this one. Since babel-env leverages this module, and I’m looking to target a build to browsers which support WebSocket
as the baseline minimum supported, the ability to get a list of browsers based on feature is really attractive.
Is that possible at present?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
browserslist/caniuse-lite - GitHub
The features index is provided as a way to query all of the features that are listed in the caniuse-db dataset. Note that...
Read more >caniuse-lite - NPM Package Overview - Socket.dev
The features index is provided as a way to query all of the features that are listed in the caniuse-db dataset. Note that...
Read more >caniuse-lite is outdated. Please run next command `npm ...
First, as the message says, I ran npm update caniuse-lite browserslist but it didn't fix the issue. I deleted the whole node_modules directory ......
Read more >"feature queries" | Can I use... Support tables for HTML5 ...
CSS Feature Queries allow authors to condition rules based on whether particular property declarations are supported in CSS using the @supports at rule....
Read more >caniuse-lite is outdated. Please run next command `npm ...
First, as the message says, I ran npm update caniuse-lite browserslist but it didn't fix ... This question is tagged with npm sass...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not sure if this is proper for the documentation here, but here’s what I came up with. Tested with a .browserslistrc and it appears to work correctly:
I added
caniuse-api
to docs 030a438