42 lines
1.0 KiB
Markdown
42 lines
1.0 KiB
Markdown
# Update Browserslist DB
|
||
|
||
<img width="120" height="120" alt="Browserslist logo by Anton Popov"
|
||
src="https://browsersl.ist/logo.svg" align="right">
|
||
|
||
CLI tool to update `caniuse-lite` with browsers DB
|
||
from [Browserslist](https://github.com/browserslist/browserslist/) config.
|
||
|
||
Some queries like `last 2 versions` or `>1%` depend on actual data
|
||
from `caniuse-lite`.
|
||
|
||
```sh
|
||
npx update-browserslist-db@latest
|
||
```
|
||
|
||
Or if using `pnpm`:
|
||
|
||
```sh
|
||
pnpm dlx update-browserslist-db latest
|
||
```
|
||
|
||
Or if using `bun`:
|
||
|
||
```sh
|
||
bunx update-browserslist-db@latest
|
||
```
|
||
|
||
Or if using `yarn` 2+:
|
||
|
||
```sh
|
||
yarn dlx update-browserslist-db@latest
|
||
```
|
||
|
||
---
|
||
|
||
<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" /> Update Browserslist DB is built by <b><a href="https://evilmartians.com/">Evil Martians</a></b>, an American design and engineering consultancy for <b>developer tools, AI, and cybersecurity startups</b>.
|
||
|
||
---
|
||
|
||
## Docs
|
||
Read full docs **[here](https://github.com/browserslist/update-db#readme)**.
|