|
Last change
on this file since 2058e5c was 2058e5c, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Working / before login
|
-
Property mode
set to
100644
|
|
File size:
856 bytes
|
| Line | |
|---|
| 1 | # Update Browserslist DB
|
|---|
| 2 |
|
|---|
| 3 | <img width="120" height="120" alt="Browserslist logo by Anton Popov"
|
|---|
| 4 | src="https://browsersl.ist/logo.svg" align="right">
|
|---|
| 5 |
|
|---|
| 6 | CLI tool to update `caniuse-lite` with browsers DB
|
|---|
| 7 | from [Browserslist](https://github.com/browserslist/browserslist/) config.
|
|---|
| 8 |
|
|---|
| 9 | Some queries like `last 2 versions` or `>1%` depend on actual data
|
|---|
| 10 | from `caniuse-lite`.
|
|---|
| 11 |
|
|---|
| 12 | ```sh
|
|---|
| 13 | npx update-browserslist-db@latest
|
|---|
| 14 | ```
|
|---|
| 15 | Or if using `pnpm`:
|
|---|
| 16 | ```sh
|
|---|
| 17 | pnpm exec update-browserslist-db latest
|
|---|
| 18 | ```
|
|---|
| 19 | Or if using `yarn`:
|
|---|
| 20 | ```sh
|
|---|
| 21 | yarn dlx update-browserslist-db@latest
|
|---|
| 22 | ```
|
|---|
| 23 |
|
|---|
| 24 | <a href="https://evilmartians.com/?utm_source=update-browserslist-db">
|
|---|
| 25 | <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"
|
|---|
| 26 | alt="Sponsored by Evil Martians" width="236" height="54">
|
|---|
| 27 | </a>
|
|---|
| 28 |
|
|---|
| 29 | ## Docs
|
|---|
| 30 | Read full docs **[here](https://github.com/browserslist/update-db#readme)**.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.