This repository contains compatibility data for Web technologies. Browser compatibility data describes which platforms (where "platforms" are usually, but not always, web browsers) support particular Web APIs.
This data can be used in documentation, to build compatibility tables listing browser support for APIs. For example: Browser support for WebExtension APIs.
Read how this project is governed.
Chat on chat.mozilla.org#mdn.
You can install
@mdn/browser-compat-data as a node package.
npm install @mdn/browser-compat-data
const bcd = require('@mdn/browser-compat-data'); bcd.css.properties.background; // returns a compat data object (see schema)
Format of the browser compat json files
If you find a problem, please file a bug.
We're very happy to accept contributions to this data. See Contributing to browser-compat-data for more information.
Projects using the data
Here are some projects using the data, as an npm module or directly:
- Add-ons Linter - the Add-ons Linter is used on addons.mozilla.org and the web-ext tool. It uses browser-compat-data to check that the Firefox version that the add-on lists support for does in fact support the APIs used by the add-on.
- Browser Compatibility Data Explorer - View, search, and visualize data from the compatibility dataset.
- caniuse - In addition to the existing caniuse database, caniuse includes features from the MDN BCD project, formatted and interactive like any other caniuse support table.
- Compat Report - Firefox Add-on that shows compatibility data for the current site in the developer tools.
- compat-tester - Scan local documents for compatibility issues.
- Visual Studio Code - Shows the compatibility information in the code completion popup.
- Hexo Plugin: hexo-compat-report - Allows to embed MDN's compatibility table in a hexo blog post.
The BrowserStack Open Source Program for testing services
Sauce Labs Open Source for testing services