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

browserslist 4.22.3

Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset
Package summary
Share
0
issues
0
licenses
Package created
15 Dec 2014
Version published
26 Jan 2024
Maintainers
1
Total deps
0
Direct deps
0
License
MIT
Generating a report...
Hold on while we generate a fresh audit report for this package.

Frequently Asked Questions

What does browserslist do?

Browserslist is an advanced tool used to share targeted browsers and Node.js versions across various front-end tools such as Autoprefixer, Babel, postcss-preset-env, eslint-plugin-compat, stylelint-no-unsupported-browser-features, postcss-normalize, and obsolete-webpack-plugin. It's an essential instrument to ensure cross-browser compatibility by allowing developers to specify a list of browser versions their project needs to support.

How do you use browserslist?

To use Browserslist, you need to add a specification to your project's package.json file or a .browserslistrc configuration file. Using this utility, developers can set their version lists using queries like 'last 2 versions' freeing them from manually updating versions.

Here is how you can include it in your package.json:

  "browserslist": [
    "defaults and fully supports es6-module",
    "maintained node versions"
  ]

Alternatively, use a .browserslistrc config file:

# Browsers that we support

defaults and fully supports es6-module
maintained node versions

For a visual representation of how your configuration works, you can check your settings on the Browserslist playground.

Where are the browserslist docs?

Browserslist has extensive documentation which can be accessed from their GitHub repository. You can find the complete documentation, full of valuable information and examples that help you understand and master this tool, here.