Utilities for processing MDN's Browser Compatibility Data (BCD).
This monorepo includes tools to process browser-compat-data (BCD) for use in MDN's frontend (yari) and backend (rumba).
This repository consists of two packages:
Generates JSON files from BCD to be consumed by MDN's yari frontend, powering the BCD tables.
-
Usage:
cd api npm ci npm update @mdn/browser-compat-data npm run generate
-
Output:
Writes one JSON file per BCD feature to/api/out/current/*.json
and/api/out/<version>/*.json
.
Generates JSON files from BCD to be consumed by MDN's rumba backend, powering the Updates feature.
-
Usage:
cd updates npm ci npm run updates
-
Output:
Writes JSON files for BCD updates by browser release to/updates/v0/bcd-updates-*.json
.
Please read the CODE_OF_CONDUCT.md before contributing.
This project is licensed under MPL-2.0.