1. browserslist
Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset
browserslist
Package: browserslist
Created by: browserslist
Last modified: Wed, 14 Feb 2024 17:50:56 GMT
Version: 4.23.0
License: MIT
Downloads: 197,644,941
Repository: https://github.com/browserslist/browserslist

Install

npm install browserslist
yarn add browserslist

Browserslist Cult Of Martians

Browserslist logo by Anton Popov

The config to share target browsers and Node.js versions between different
front-end tools. It is used in:

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

browsersl.ist website

Sponsored by Evil Martians  Supported by Cube

Docs

Read full docs here.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code