{"id":20235685,"url":"https://github.com/browserslist/update-db","last_synced_at":"2025-05-13T19:04:05.978Z","repository":{"id":37360403,"uuid":"505548145","full_name":"browserslist/update-db","owner":"browserslist","description":"CLI tool to update caniuse-lite to refresh target browsers from Browserslist config","archived":false,"fork":false,"pushed_at":"2025-02-26T17:32:26.000Z","size":273,"stargazers_count":484,"open_issues_count":9,"forks_count":109,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-06T00:39:07.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://browsersl.ist/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserslist.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"browserslist","tidelift":"npm/browserslist","github":"ai"}},"created_at":"2022-06-20T18:06:42.000Z","updated_at":"2025-05-05T21:02:15.000Z","dependencies_parsed_at":"2024-06-16T12:28:41.933Z","dependency_job_id":"337beca1-43c3-4201-82dc-c867d9c1ce5a","html_url":"https://github.com/browserslist/update-db","commit_stats":{"total_commits":126,"total_committers":10,"mean_commits":12.6,"dds":"0.16666666666666663","last_synced_commit":"85c8186412d5b9ff9bc77804f041add6934238cf"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserslist%2Fupdate-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserslist%2Fupdate-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserslist%2Fupdate-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserslist%2Fupdate-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserslist","download_url":"https://codeload.github.com/browserslist/update-db/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823910,"owners_count":21809711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T08:17:17.147Z","updated_at":"2025-05-13T19:04:05.957Z","avatar_url":"https://github.com/browserslist.png","language":"JavaScript","funding_links":["https://opencollective.com/browserslist","https://tidelift.com/funding/github/npm/browserslist","https://github.com/sponsors/ai"],"categories":["others"],"sub_categories":[],"readme":"# Update Browserslist DB\n\n\u003cimg width=\"120\" height=\"120\" alt=\"Browserslist logo by Anton Popov\"\n     src=\"https://browsersl.ist/logo.svg\" align=\"right\"\u003e\n\nCLI tool to update `caniuse-lite` with browsers DB\nfrom [Browserslist](https://github.com/browserslist/browserslist/) config.\n\nSome queries like `last 2 versions` or `\u003e1%` depend on actual data\nfrom `caniuse-lite`.\n\n```sh\nnpx update-browserslist-db@latest\n```\n\n\u003ca href=\"https://evilmartians.com/?utm_source=update-browserslist-db\"\u003e\n  \u003cimg src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\"\n       alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\"\u003e\n\u003c/a\u003e\n\n## Why you need to call it regularly\n\n`npx update-browserslist-db@latest` updates `caniuse-lite` version\nin your npm, yarn, or pnpm lock file.\n\nThis update will bring data about new browsers to polyfill tools\nlike Autoprefixer or Babel and reduce already unnecessary polyfills.\n\nYou need to do it regularly for three reasons:\n\n1. To use the latest browser’s versions and statistics in queries like\n   `last 2 versions` or `\u003e1%`. For example, if you created your project\n   2 years ago and did not update your dependencies, `last 1 version`\n   will return 2-year-old browsers.\n2. Actual browser data will lead to using less polyfills. It will reduce\n   size of JS and CSS files and improve website performance.\n3. `caniuse-lite` deduplication: to synchronize versions in different tools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserslist%2Fupdate-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserslist%2Fupdate-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserslist%2Fupdate-db/lists"}