Skip to content

mdn/bcd-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

36fa1bc · Mar 26, 2025
Mar 25, 2025
Mar 28, 2024
Mar 25, 2025
Apr 25, 2024
Jan 27, 2025
Dec 14, 2022
Nov 14, 2024
Dec 14, 2022
Dec 6, 2022
Mar 26, 2025
Mar 17, 2025
Mar 17, 2025

Repository files navigation

bcd-utils

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).

Structure

This repository consists of two packages:

/api

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.

/updates

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.

Contributing

Please read the CODE_OF_CONDUCT.md before contributing.

License

This project is licensed under MPL-2.0.