tag | 98bb5bd537feb14618862901b26651a5fe02a251 | |
---|---|---|
tagger | Florian Scholz <fscholz@mozilla.com> | Mon Jun 22 19:00:50 2020 |
object | ab53fc30f4b995951f8c82c4a6326592bc34b414 |
Patch release containing data or non-breaking updates only
commit | ab53fc30f4b995951f8c82c4a6326592bc34b414 | [log] [tgz] |
---|---|---|
author | Florian Scholz <fscholz@mozilla.com> | Mon Jun 22 19:00:50 2020 |
committer | Florian Scholz <fscholz@mozilla.com> | Mon Jun 22 19:00:50 2020 |
tree | 196b2940c0280d76890c23b73ddd6c2363297c5d | |
parent | 1efde7e0455fed14552ecd78fc3a0ad2cdbb56ca [diff] |
Patch release containing data or non-breaking updates only
https://github.com/mdn/browser-compat-data
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)
There's a top-level directory for each broad area covered: for example, “http”, “javascript”, “webextensions”. Inside each of these directories is one or more JSON file containing the compatibility data.
css/ contains data for CSS properties, selectors, and at-rules.
html/ contains data for HTML elements, attributes, and global attributes.
http/ contains data for HTTP headers, statuses, and methods.
javascript/ contains data for JavaScript built-in Objects, statement, operators, and other ECMAScript language features.
mathml/ contains data for MathML elements, attributes, and global attributes.
svg/ contains data for SVG elements, attributes, and global attributes.
webdriver/ contains data for WebDriver commands.
webextensions/ contains data for WebExtensions JavaScript APIs and manifest keys.
xslt/ contains data for XSLT elements, attributes, and global attributes.
The definitive description of the format used to represent compatibility data is the schema file. You can also have a look at the schema documentation.
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.
Here are some projects using the data, as an npm module or directly: