https://github.com/mdn/bcd-utils
https://github.com/mdn/bcd-utils
bcd infra tooling
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mdn/bcd-utils
- Owner: mdn
- License: mpl-2.0
- Created: 2022-12-06T12:41:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-10-03T09:55:38.000Z (7 months ago)
- Last Synced: 2025-10-03T11:41:16.050Z (7 months ago)
- Topics: bcd, infra, tooling
- Language: JavaScript
- Homepage:
- Size: 446 KB
- Stars: 3
- Watchers: 7
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# bcd-utils
**Utilities for processing MDN's Browser Compatibility Data (BCD).**
This monorepo includes tools to process
[browser-compat-data](https://github.com/mdn/browser-compat-data) (BCD) for use
in MDN's frontend ([yari](https://github.com/mdn/yari)) and backend
([rumba](https://github.com/mdn/rumba)).
## Structure
This repository consists of two packages:
### `/api`
Generates JSON files from BCD to be consumed by MDN's
[yari](https://github.com/mdn/yari) frontend, powering the BCD tables.
- **Usage**:
```sh
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//*.json`.
### `/updates`
Generates JSON files from BCD to be consumed by MDN's
[rumba](https://github.com/mdn/rumba) backend, powering the
[Updates](https://developer.mozilla.org/en-US/plus/updates) feature.
- **Usage**:
```sh
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](./CODE_OF_CONDUCT.md) before contributing.
## License
This project is licensed under [MPL-2.0](./LICENSE).