{"_id":"browserslist-config-baseline","_rev":"11-2e6e98cefb86d9f570c07103cc10d928","name":"browserslist-config-baseline","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"browserslist-config-baseline","version":"0.1.0","keywords":["browserslist","browserslist-config","mozilla"],"author":{"name":"Alexnader Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Unlicense","_id":"browserslist-config-baseline@0.1.0","homepage":"https://gitlab.com/notpushkin/browserslist-config-baseline#readme","bugs":{"url":"https://gitlab.com/notpushkin/browserslist-config-baseline/issues"},"dist":{"shasum":"486021e357c79126daf83d8967d029b519fe0bb8","tarball":"https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.1.0.tgz","fileCount":7,"integrity":"sha512-JqvkZ83QZTTGAJkiogkYbjPuRHLw5HqHDxjntUMFxz/ePcTnmAII1Kh/WZ3B+vopOBIK4CfyjSZkDBeWYBh9jA==","signatures":[{"sig":"MEQCIA98qTOx5lX9OHFgrxOIS6M8nw67uScsvIKL2wVjEnbZAiAtTHZjNjHBblkSuWKimdtYmkcRuQBMhV5eldthr8SHvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4018},"type":"module","module":"index.js","scripts":{"test":"node test.js"},"_npmUser":{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},"deprecated":"Please update to 0.5.0","repository":{"url":"git+https://gitlab.com/notpushkin/browserslist-config-baseline.git","type":"git"},"_npmVersion":"10.5.0","description":"Browserslist config based on WebDX Baseline (as seen on MDN!)","directories":{},"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","browserslist":"^4.23.1"},"_npmOperationalInternal":{"tmp":"tmp/browserslist-config-baseline_0.1.0_1719566948759_0.786762838965543","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"browserslist-config-baseline","version":"0.1.1","keywords":["browserslist","browserslist-config","mozilla"],"author":{"name":"Alexnader Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Unlicense","_id":"browserslist-config-baseline@0.1.1","homepage":"https://gitlab.com/notpushkin/browserslist-config-baseline#readme","bugs":{"url":"https://gitlab.com/notpushkin/browserslist-config-baseline/issues"},"dist":{"shasum":"120421c52fc3da636c815357e111f4f0573f7d5c","tarball":"https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.1.1.tgz","fileCount":7,"integrity":"sha512-0P5ePSj3jgh0YMwjpdXHOzL16CukkJ3LeN8t9gyrVXfuiK0QL9+hi22T0KNNlh0FWL38qHFlfFIKBGc06Xu2lA==","signatures":[{"sig":"MEUCIHyeKk6GVyUglMqd58FLCYWYTQ30ldiK9fq/MTxuCgjJAiEAvh6nOEo6N1G56b+ulezA7bjS0QpeX5OBMcU9JI/io1Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4014},"type":"module","module":"index.js","scripts":{"test":"node test.js"},"_npmUser":{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},"deprecated":"Please update to 0.5.0","repository":{"url":"git+https://gitlab.com/notpushkin/browserslist-config-baseline.git","type":"git"},"_npmVersion":"10.5.0","description":"Browserslist config based on WebDX Baseline (as seen on MDN!)","directories":{},"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","browserslist":"^4.23.1"},"_npmOperationalInternal":{"tmp":"tmp/browserslist-config-baseline_0.1.1_1719567013470_0.45268192633762094","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"browserslist-config-baseline","version":"0.1.2","keywords":["browserslist","browserslist-config","mozilla"],"author":{"name":"Alexnader Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Unlicense","_id":"browserslist-config-baseline@0.1.2","homepage":"https://gitlab.com/notpushkin/browserslist-config-baseline#readme","bugs":{"url":"https://gitlab.com/notpushkin/browserslist-config-baseline/issues"},"dist":{"shasum":"85879534b3118d8d8c771f80dc8d073b37c176ea","tarball":"https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.1.2.tgz","fileCount":9,"integrity":"sha512-Z57rV9RCAAoXZe5g32qVxK5og7PfhF3py3RKjjRX06MUxv4hORnOiyrCJr5SZ83YCciC9ld9t+qMF6smf/tz5w==","signatures":[{"sig":"MEUCIQDiUr3Y2QpAsFqN9/+R2UedXy72+M6ccf8WkvPCj7Wh3AIgG0p61Da9KIlG0i4fG/0Kjmo08NEHEqoqJSJIYzgHBjw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4719},"main":"index.js","gitHead":"1574deacf3621bece08c8d4f2a4f1a87bc242e94","scripts":{"test":"node test.mjs"},"_npmUser":{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},"deprecated":"Please update to 0.5.0","repository":{"url":"git+https://gitlab.com/notpushkin/browserslist-config-baseline.git","type":"git"},"_npmVersion":"10.5.0","description":"Browserslist config based on WebDX Baseline (as seen on MDN!)","directories":{},"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","browserslist":"^4.23.1"},"_npmOperationalInternal":{"tmp":"tmp/browserslist-config-baseline_0.1.2_1719573068341_0.5532548026139184","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"browserslist-config-baseline","version":"0.1.3","keywords":["browserslist","browserslist-config","mozilla"],"author":{"name":"Alexnader Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Unlicense","_id":"browserslist-config-baseline@0.1.3","dist":{"shasum":"52819d191637b6338b89b27285860e0e5090cf67","tarball":"https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.1.3.tgz","fileCount":9,"integrity":"sha512-+2oIfuanM2wVwfgQ+pi/bNkXV2GyYte8SFyOpEHVv507BsnScNArNC59Qb7M2FK1pZmbk/xXdA4ximIGrV73uQ==","signatures":[{"sig":"MEQCIBrxR3OOPnFbFNSd9PqGbWKWYiMf/eTXJIJZKlBN7pnGAiAXaij3G93gTyZa+Z1uLZl7/psFfZ4C0+90N+akNeNu7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4772},"main":"index.js","gitHead":"f5a2deedf6acd9d28ab66c914de37839ebd73588","scripts":{"test":"node test.mjs"},"_npmUser":{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},"deprecated":"Please update to 0.5.0","repository":{"url":"git+https://codeberg.org/notpushkin/browserslist-config-baseline.git","type":"git"},"_npmVersion":"10.5.0","description":"Browserslist config based on WebDX Baseline (as seen on MDN!)","directories":{},"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","browserslist":"^4.23.1"},"_npmOperationalInternal":{"tmp":"tmp/browserslist-config-baseline_0.1.3_1719822106419_0.3447046341160289","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"browserslist-config-baseline","version":"0.2.0","keywords":["browserslist","browserslist-config","mozilla","baseline"],"author":{"name":"Alexnader Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Apache-2.0","_id":"browserslist-config-baseline@0.2.0","maintainers":[{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},{"name":"tonypconway","email":"tony.p.conway@gmail.com"}],"bugs":{"url":"https://github.com/web-platform-dx/browserslist-config-baseline/issues"},"dist":{"shasum":"fa9fc4f5fbb9d6697a17558867a9988a1f2f94af","tarball":"https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.2.0.tgz","fileCount":27,"integrity":"sha512-lL9ogth4gorU6I36M4k2/NXyyBaWRlYkX6AaE9/TxQPWEaExYpDVrVdE3S7r8YIJE3vutUgJLjHLyT2RRAJvDQ==","signatures":[{"sig":"MEYCIQCZaGp7q/UL2/UYMxJR/0uGiWDsz7lyWfV1vMiL28H9RQIhAKwq+VUPNuaA2Cb/gjgH+qmWKCdJBndFAL902Z5zAVmm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21960},"main":"index.js","shasum":"fa9fc4f5fbb9d6697a17558867a9988a1f2f94af","scripts":{"test":"node test.mjs"},"_npmUser":{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},"_integrity":"sha512-lL9ogth4gorU6I36M4k2/NXyyBaWRlYkX6AaE9/TxQPWEaExYpDVrVdE3S7r8YIJE3vutUgJLjHLyT2RRAJvDQ==","repository":{"url":"git+https://github.com/web-platform-dx/browserslist-config-baseline.git","type":"git"},"_npmVersion":"10.8.3","description":"A browserslist config based on Web Platform Baseline.","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","browserslist":"^4.23.1"},"_npmOperationalInternal":{"tmp":"tmp/browserslist-config-baseline_0.2.0_1742385870669_0.5990363354057513","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Please update to 0.5.0"},"0.3.0":{"name":"browserslist-config-baseline","version":"0.3.0","keywords":["browserslist","browserslist-config","mozilla","baseline"],"author":{"name":"Alexander Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Apache-2.0","_id":"browserslist-config-baseline@0.3.0","maintainers":[{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},{"name":"tonypconway","email":"tony.p.conway@gmail.com"}],"homepage":"https://github.com/web-platform-dx/browserslist-config-baseline#readme","bugs":{"url":"https://github.com/web-platform-dx/browserslist-config-baseline/issues"},"dist":{"shasum":"51bf858eb10a42dc05621acc5c1e27f38dc535e9","tarball":"https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.3.0.tgz","fileCount":32,"integrity":"sha512-ATFQnYgJxinTInVgb131a+Fdx/2bJrrvi65zovhTFUBBww0z71qGB5fbTKSuigQl82O5WZG6WFGOxAsSKsxKmw==","signatures":[{"sig":"MEQCIEe/FxravcvhdV/BUmYOvazfadDUpQPxhWjiIMsLQhH9AiBp9wmN+sBpLx35UNvdfQL3kU8T03/bcLhiPRzReMwunw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25214},"main":"index.js","gitHead":"7b74014ab70a7ad8a6204edbaff307a2f433afdf","scripts":{"test":"node test.mjs","prepare-release":"node scripts/update-last-updated.js; npm version patch"},"_npmUser":{"name":"tonypconway","email":"tony.p.conway@gmail.com"},"repository":{"url":"git+https://github.com/web-platform-dx/browserslist-config-baseline.git","type":"git"},"_npmVersion":"11.1.0","description":"A browserslist config based on Web Platform Baseline.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@httptoolkit/esm":"^3.3.1","compare-versions":"^6.1.1","baseline-browser-mapping":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","browserslist":"^4.23.1"},"_npmOperationalInternal":{"tmp":"tmp/browserslist-config-baseline_0.3.0_1743433636500_0.1476748359866933","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Please update to 0.5.0"},"0.4.0":{"name":"browserslist-config-baseline","version":"0.4.0","keywords":["browserslist","browserslist-config","mozilla","baseline"],"author":{"name":"Alexander Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Apache-2.0","_id":"browserslist-config-baseline@0.4.0","maintainers":[{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},{"name":"tonypconway","email":"tony.p.conway@gmail.com"}],"homepage":"https://github.com/web-platform-dx/browserslist-config-baseline#readme","bugs":{"url":"https://github.com/web-platform-dx/browserslist-config-baseline/issues"},"dist":{"shasum":"40da300d4d370cec45f82d2f2f526dab92540be4","tarball":"https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.4.0.tgz","fileCount":32,"integrity":"sha512-ZbdPlREt1Z77Xh2vP+wdr1jGZ8udXH4wFFEpV1WQ3GP63XD8rwdyP39yv1WDYbCVGZyUYaSN8T9HlRseVjAG1w==","signatures":[{"sig":"MEUCIQChuUv/NNhdYIMAlm5vFTYapEJGwAlLL2Vairum1xxu7wIgCacjboXAnnusAamfNR99qliHk3RjusuW/zZXa8E8hss=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32533},"main":"index.js","gitHead":"c741ccb7694b2dc39f5f467d653b16092afa22a1","scripts":{"test":"node test.mjs","prepare-release":"node scripts/update-last-updated.js; npm version patch"},"_npmUser":{"name":"tonypconway","email":"tony.p.conway@gmail.com"},"repository":{"url":"git+https://github.com/web-platform-dx/browserslist-config-baseline.git","type":"git"},"_npmVersion":"10.9.1","description":"A browserslist config based on Web Platform Baseline.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@httptoolkit/esm":"^3.3.1","compare-versions":"^6.1.1","baseline-browser-mapping":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","browserslist":"^4.23.1"},"_npmOperationalInternal":{"tmp":"tmp/browserslist-config-baseline_0.4.0_1744277247724_0.871330682847308","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Please update to 0.5.0"},"0.5.0":{"name":"browserslist-config-baseline","version":"0.5.0","keywords":["browserslist","browserslist-config","mozilla","baseline"],"author":{"name":"Alexander Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Apache-2.0","_id":"browserslist-config-baseline@0.5.0","maintainers":[{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},{"name":"tonypconway","email":"tony.p.conway@gmail.com"}],"homepage":"https://github.com/web-platform-dx/browserslist-config-baseline#readme","bugs":{"url":"https://github.com/web-platform-dx/browserslist-config-baseline/issues"},"dist":{"shasum":"97893341f5afd47451eaa6c6250c2c93495a16fc","tarball":"https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.5.0.tgz","fileCount":30,"integrity":"sha512-TBB58g6MkqLiN7JPqkNWImFBpiybPDyMN6QeU7/Vb5J10eAyNEPQLj0HpFsTZZ+xyeFpCIz2qNdg0/xnrq929Q==","signatures":[{"sig":"MEUCIGFhepkxCeUPT7LzdYRxCqh5sFYrFjXaPKHrsg1iFbDqAiEApAT60mHZOdqhUglVYDgZwFx9/f7L1yqam3NHbmklbEU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29926},"main":"index.js","gitHead":"ea477f268384abff8758e6388e059e4e2ada051c","scripts":{"test":"node test.mjs","prepare-release":"npm version patch"},"_npmUser":{"name":"tonypconway","email":"tony.p.conway@gmail.com"},"repository":{"url":"git+https://github.com/web-platform-dx/browserslist-config-baseline.git","type":"git"},"_npmVersion":"10.9.3","description":"A browserslist config based on Web Platform Baseline.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"baseline-browser-mapping":"^2.5.6"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","browserslist":"^4.23.1"},"_npmOperationalInternal":{"tmp":"tmp/browserslist-config-baseline_0.5.0_1754315056731_0.3422624051886547","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-06-28T09:29:08.758Z","modified":"2025-08-08T12:18:47.089Z","0.1.0":"2024-06-28T09:29:08.912Z","0.1.1":"2024-06-28T09:30:13.631Z","0.1.2":"2024-06-28T11:11:08.502Z","0.1.3":"2024-07-01T08:21:46.547Z","0.2.0":"2025-03-19T12:04:30.866Z","0.3.0":"2025-03-31T15:07:16.679Z","0.4.0":"2025-04-10T09:27:27.900Z","0.5.0":"2025-08-04T13:44:16.922Z"},"bugs":{"url":"https://github.com/web-platform-dx/browserslist-config-baseline/issues"},"author":{"name":"Alexander Pushkov","email":"browserslist-config-baseline@ale.sh"},"license":"Apache-2.0","homepage":"https://github.com/web-platform-dx/browserslist-config-baseline#readme","keywords":["browserslist","browserslist-config","mozilla","baseline"],"repository":{"url":"git+https://github.com/web-platform-dx/browserslist-config-baseline.git","type":"git"},"description":"A browserslist config based on Web Platform Baseline.","maintainers":[{"name":"notpushkin","email":"npmjs.com@accounts.ale.sh"},{"name":"tonypconway","email":"tony.p.conway@gmail.com"}],"readme":"# <img src=\"https://unpkg.com/browserslist-config-baseline@0.1.2/assets/icon.svg\" height=\"25\" alt=\"Baseline Widely Available logo\"> browserslist-config-baseline\n\nA [browserslist](https://www.npmjs.com/package/browserslist) config based on [Web Platform Baseline](https://developer.mozilla.org/en-US/docs/Glossary/Baseline/Compatibility).\n\nBaseline identifies web platform features that work across browsers. Baseline helps you decide when to use a feature by telling you when it is less likely to cause compatibility problems for your site's visitors. There are two ways of targeting a Baseline feature set:\n\n1. [Baseline Widely Available](#baseline-widely-available) - includes all features that were fully supported in Chrome, Edge, Firefox and Safari **30 months before the current date**.\n2. [Baseline year feature sets](#baseline-year-feature-sets) - includes all features that were fully supported in Chrome, Edge, Firefox and Safari **at the end of a given calendar year**.\n\nYou should check your analytics to see which browser versions are prevalent in your userbase before selecting a Baseline target.\n\n## Installation\n\nTo add `browserslist-config-baseline` to your project, use one of the following commands:\n\n```sh\n# npm\nnpm i browserslist-config-baseline\n# yarn\nyarn add browserslist-config-baseline\n# bun\nbun add browserslist-config-baseline\n```\n\n## Baseline Widely Available\n\nTo target Baseline Widely Available, add the following to your `package.json`:\n\n<!-- prettier-ignore -->\n```json\n{\n  \"browserslist\": [\n    \"extends browserslist-config-baseline\"\n  ]\n}\n```\n\nIf you want to see your list of chosen browsers every time `browserslist` calls `browserslist-baseline-config`, add a `browserslist-config-baseline` object to your `package.json` with `logConfigToConsole` set to `true`:\n\n<!-- prettier-ignore -->\n```json\n{\n  \"browserslist\": [\n    \"extends browserslist-config-baseline\"\n  ],\n  \"browserslist-config-baseline\": {\n    \"logConfigToConsole\": true\n  }\n}\n```\n\nThe `logConfigToConsole` option works with both of the target configuration options mentioned below.\n\nThe data in this package changes frequently as new browser versions are released and new web-features become interoperable. Consider updating this module regularly by adding one of these commands to your build scripts:\n\n```sh\n# npm\nnpm i browserslist-config-baseline@latest\n\n# yarn\nyarn upgrade --latest browserslist-config-baseline\n\n# bun\nbun update browserslist-config-baseline@latest\n```\n\nIf you haven't updated `browserslist-config-baseline` in the last month and you are targeting Widely Available, the package will check for updates whenever you run a `browserslist`-compatible tool and prompt you to upgrade if there is a new version available.\n\n## Configuring `browserslist-config-baseline`\n\nThere are two ways to configure `browserslist-config-basesline`:\n\n- [Add options to the end of your `extends` statement](#configuring-targets-using-the-extends-statement).\n- Using a `browserslist-config-baseline` configuration object in your `package.json`.\n\n## Configuring targets using the `extends` statement\n\n### Baseline year feature sets\n\nBaseline year feature sets include all the web platform features that were fully supported in the core browser set at the end of a given calendar year. To use a Baseline year feature set, add the year in the format `/YYYY` to the end of your `extends` statement:\n\n<!-- prettier-ignore -->\n```json\n{\n  \"browserslist\": [\n    \"extends browserslist-config-baseline/2020\"\n  ]\n}\n```\n\nThis equates to the following `browserslist` config:\n\n```json\n{\n  \"browserslist\": [\n    \"Chrome >= 87\",\n    \"ChromeAndroid >= 87\",\n    \"Edge >= 87\",\n    \"Firefox >= 83\",\n    \"FirefoxAndroid >= 83\",\n    \"Safari >= 14\",\n    \"iOS >= 14\"\n  ]\n}\n```\n\nThe minimum browser versions that support these feature sets are usually the last version released in that year or a few versions earlier. The feature set > browser version mappings in this module were determined using [`baseline-browser-mapping`](https://npmjs.org/baseline-browser-mapping).\n\n### Include Chromium downstream browsers\n\nTo include browsers that implement Chromium where possible, insert `/with-downstream` into your `extends` statement immediately after the package name:\n\n<!-- prettier-ignore -->\n```json\n{\n  \"browserslist\": [\n    \"extends browserslist-config-baseline/with-downstream/2020\"\n  ]\n}\n```\n\nThis equates to the following `browserslist` config:\n\n```json\n{\n  \"browserslist\": [\n    \"Chrome >= 87\",\n    \"ChromeAndroid >= 87\",\n    \"Edge >= 87\",\n    \"Firefox >= 83\",\n    \"FirefoxAndroid >= 83\",\n    \"Safari >= 14\",\n    \"iOS >= 14\",\n    \"Opera >= 73\",\n    \"op_mob >= 62\",\n    \"Samsung >= 14.0\",\n    \"Android >= 87\",\n    \"and_uc >= 15.3\",\n    \"and_qq >= 11.7\"\n  ]\n}\n```\n\nThe minimum browser versions of non-core browsers are provided by `baseline-browser-mapping` based on two sources: [`@mdn/browser-compat-data`](https://npmjs.org/@mdn/browsers-compat-data) where those engine version mappings exist, and parsed user agents from [`useragents.io`](https://useragents.io) where necessary. For more information on these mappings, please see [`baseline-browser-mapping`'s README](https://www.npmjs.com/package/baseline-browser-mapping#downstream-browsers).\n\n## Configuring targets using a `browserslist-config-baseline` object in `package.json`\n\nYou can add a `browserslist-config-baseline` object to your `package.json` to set your Baseline target.\n\n> **NOTE**\n> The `browserslist-config-baseline` config in `package.json` only works if you use the basic `extends` statement. If you add a `YYYY` year and/or `with-downstream` to your `extends` statement, that will take precedence over the target settings in your `browserslist-config-baseline` object. The `logConfigToConsole` option works with both config methods.\n\n### Target Baseline year feature sets\n\nTo target a Baseline year, set the `baselineYear` property to the desired year:\n\n<!-- prettier-ignore -->\n```json\n{\n  \"browserslist\": [\n    \"extends browserslist-config-baseline\"\n  ],\n  \"browserslist-config-baseline\": {\n      \"baselineYear\": 2020\n  }\n}\n```\n\n> **NOTE**\n> You cannot use the `baselineYear` and `widelyAvailableOnDate` options together. The `baseline-browser-mapping` module that supplies data to `browserslist-config-baseline` will throw an error.\n\n### Target Baseline Widely available on a particular date\n\nTo target Baseline Widely available on a particular date, set the `widelyAvailableOnDate` property to the desired date in the format `YYYY-MM-DD`:\n\n<!-- prettier-ignore -->\n```json\n{\n  \"browserslist\": [\n    \"extends browserslist-config-baseline\"\n  ],\n  \"browserslist-config-baseline\": {\n      \"widelyAvailableOnDate\": \"2020-06-01\"\n  }\n}\n```\n\n> **NOTE**\n> You cannot use the `baselineYear` and `widelyAvailableOnDate` options together. The `baseline-browser-mapping` module that supplies data to `browserslist-config-baseline` will throw an error.\n\n### Include downstream browsers\n\nTo include browsers the implement Chromium, set the `includeDownstreamBrowsers` property to `true`:\n\n<!-- prettier-ignore -->\n```json\n{\n  \"browserslist\": [\n    \"extends browserslist-config-baseline\"\n  ],\n  \"browserslist-config-baseline\": {\n      \"includeDownstreamBrowsers\": true\n  }\n}\n```\n\n## Logging your config to the console\n\nTo see the array of minimum browser versions that you are passing to `browserslist`, add `logConfigToConsole: true` to your `package.json` config:\n\n```json\n{\n  \"browserslist-config-baseline\": {\n    \"logConfigToConsole\": true\n  }\n}\n```\n\nThis works with both methods of setting your target browsers.\n\n## See also\n\n- [WebDX Baseline specification](https://github.com/web-platform-dx/web-features/blob/main/docs/baseline.md)\n- [Web Platform Status dashboard](https://webstatus.dev/) - a dashboard for checking the Baseline status of web platform features.\n","readmeFilename":"README.md"}