browserslist (4.25.4)
Published 2026-02-24 13:53:39 +00:00 by atheaadmin
Installation
registry=npm install browserslist@4.25.4"browserslist": "4.25.4"About this package
Browserslist
The config to share target browsers and Node.js versions between different front-end tools. It is used in:
- Autoprefixer
- Babel
- postcss-preset-env
- eslint-plugin-compat
- stylelint-no-unsupported-browser-features
- postcss-normalize
- obsolete-webpack-plugin
All tools will find target browsers automatically,
when you add the following to package.json:
"browserslist": [
"defaults and fully supports es6-module",
"maintained node versions"
]
Or in .browserslistrc config:
# Browsers that we support
defaults and fully supports es6-module
maintained node versions
Developers set their version lists using queries like last 2 versions
to be free from updating versions manually.
Browserslist will use caniuse-lite with Can I Use data for this queries.
You can check how config works at our playground: browsersl.ist
Docs
Read full docs here.
Dependencies
Dependencies
| ID | Version |
|---|---|
| caniuse-lite | ^1.0.30001737 |
| electron-to-chromium | ^1.5.211 |
| node-releases | ^2.0.19 |
| update-browserslist-db | ^1.1.3 |
Keywords
caniuse
browsers
target