Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

ddbeck/strict-browser-compat-data

Repository files navigation

No Maintenance Intended

This work has become part of the web-features project. If you need to work with browser compat data, or using and generating Baseline statuses, go there.

Old documentation

Before you begin.

  1. npm install
  2. If needed, upgrade BCD to the latest release. npm install --save-peer @mdn/browser-compat-data@latest.

Usage

Get help

$ npx tsx ./scripts/baseline/ --help

Get the status for a BCD key

$ npx tsx ./scripts/baseline/ css.properties.border-color

Get a pretty Markdown version

$ npx tsx ./scripts/baseline/ --markdown css.properties.border-color

Check multiple keys, as if you had created a group

$ npx tsx ./scripts/baseline/ --markdown --group-as hypothetical-feature css.properties.border-color javascript.builtins.Temporal

Check a tag in BCD

$ npx tsx ./scripts/baseline/ --markdown --from-tags web-features:grid

See what an update web-features YAML file would look like

$ npx tsx ./scripts/baseline/ update-feature ../web-platform-dx-web-features/feature-group-definitions/flexbox.yml

Write the update to the YAML file

$ npx tsx ./scripts/baseline/ update-feature ../web-platform-dx-web-features/feature-group-definitions/flexbox.yml --write

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published