browserslist
npmv4.28.8TypeScriptShare target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset
Safe to adopt
Yes — browserslist scores well across adoption, maintenance, weight, supply chain, and licensing. 194M downloads per week and 5 known dependents. Last published 32 days ago. 25 releases in the last 2 years.
- AAdoption: grade A, Excellent.
194M downloads per week and 5 known dependents.
- AMaintenance: grade A, Excellent.
Last published 32 days ago. 25 releases in the last 2 years.
- BWeight: grade B, Good.
Pulls in 7 transitive packages, about 1.9 MB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding browserslist to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing browserslist, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
browserslist vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| browserslistthis page | 194M | 5 | MIT | 1 month ago |
| update-browserslist-db | 0 | 1 | MIT | 5 days ago |
| @puppeteer/browsers | 0 | 3 | Apache-2.0 | 5 days ago |
Dependencies
Declared by browserslist v4.28.8. Runtime dependencies are installed with the package; dev dependencies are not.
Used by
Popular packages that depend on browserslist.
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
IEEE 754 half-precision floating-point for JavaScript
A Metro config for running React Native projects with the Metro bundler
Helper functions on Babel compilation targets
Relationship graph
Dependencies (left) and dependents (right) of browserslist.
Frequently installed together
The Expo SDK
An AST-based pattern checker for JavaScript.
TypeScript definitions for node
Tool for transforming styles with JS plugins
ECMAScript parser
TypeScript definitions for estree
Generate source maps
Lodash modular utilities.
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
Offers a async require.resolve function. It's highly configurable.
Prettier is an opinionated code formatter
Release history
22 releases in the last two years, typically about 15 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.28.8latest | 1 month ago | 70 KB | MIT |
| 4.28.7 | 1 month ago | 70 KB | MIT |
| 4.28.6 | 2 months ago | 67 KB | MIT |
| 4.28.5 | 2 months ago | 67 KB | MIT |
| 4.28.4 | 2 months ago | 67 KB | MIT |
| 4.28.3 | 2 months ago | 66 KB | MIT |
| 4.28.2 | 5 months ago | 67 KB | MIT |
| 4.28.1 | 9 months ago | 68 KB | MIT |
| 4.28.0 | 10 months ago | 67 KB | MIT |
| 4.27.0 | 10 months ago | 67 KB | MIT |
| 4.26.3 | 11 months ago | 67 KB | MIT |
| 4.26.2 | 11 months ago | 67 KB | MIT |
| 4.26.1 | 11 months ago | 67 KB | MIT |
| 4.26.0 | 1 year ago | 67 KB | MIT |
| 4.25.4 | 1 year ago | 64 KB | MIT |
Overview
browserslist is an npm package that share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset. It is extremely widely used, with about 194M downloads per week and 5 known dependents in the graph. The latest version is 4.28.8, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (194M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use browserslist?
Yes — browserslist scores well across adoption, maintenance, weight, supply chain, and licensing. 194M downloads per week and 5 known dependents. Last published 32 days ago. 25 releases in the last 2 years.
How do I install browserslist?
Run `npm install browserslist` to add browserslist to your npm project.
How many dependencies does browserslist have?
browserslist declares 5 direct dependencies and pulls in 7 packages in total once its runtime tree is resolved totalling about 1.9 MB on disk.
What license is browserslist released under?
browserslist is distributed under the MIT license. Its dependency tree also includes: Apache-2.0, CC-BY-4.0, ISC, MIT.
How popular is browserslist?
browserslist has approximately 194,048,084 downloads per week and 5 known dependent packages.
Is browserslist still maintained?
The most recent release of browserslist (v4.28.8) was published 1 month ago.
Does browserslist run install scripts?
No. browserslist does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.