Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 11, 2024 via pnpm

caniuse-lite 1.0.30001552

A smaller version of caniuse-db, with only the essentials!
Package summary
Share
2
issues
1
high severity
license
1
1
low severity
license
1
1
license
1
CC-BY-4.0
Package created
27 Jan 2017
Version published
22 Oct 2023
Maintainers
3
Total deps
1
Direct deps
0
License
CC-BY-4.0

Issues

2

1 high severity issue

high
Recommendation: Read and validate the license terms
via: caniuse-lite@1.0.30001552
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: caniuse-lite@1.0.30001552
Collapse
Expand

Licenses

Creative Commons Attribution 4.0 International

Uncategorized
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
caniuse-lite@1.0.30001552
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of caniuse-lite 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does caniuse-lite do?

"Caniuse-lite" is a trimmed-down version of "caniuse-db", designed to only contain the essential features. This makes it an excellent resource for developers needing to perform compatibility checks for different browser versions without the bulkiness of the full "caniuse-db" package. By using "caniuse-lite", developers can save on storage space and improve their workflow efficiency.

How do you use caniuse-lite?

Utilizing "caniuse-lite" in your applications is quite straightforward. First, you need to install it via npm by using the following command:

npm install caniuse-lite

Then, in your JavaScript code, you can require and use the package as shown below:

const caniuse = require('caniuse-lite');

// check if a specific feature is supported in a browser version
let isSupported = caniuse.isSupported('border-radius', 'firefox 50');
// isSupported should be true as border-radius is supported in Firefox 50

// get browser data
let browserData = caniuse.getBrowser('firefox');

Remember, "caniuse-lite" is a lightweight package and might not contain every detailed feature present in "caniuse-db". However, it provides the most common and essential browser compatibility checks.

Where are the caniuse-lite docs?

The complete documentation of "caniuse-lite" is readily available on GitHub for developers. This comprehensive guide provides all the necessary information on how to use the "caniuse-lite" package effectively in your projects. You'll find further explanations, comprehensive instructions, and additional code samples there. Visit the docs here.