site/node_modules/mdn-data
2024-10-14 08:09:33 +02:00
..
api updated shit 2024-10-14 08:09:33 +02:00
css updated shit 2024-10-14 08:09:33 +02:00
l10n updated shit 2024-10-14 08:09:33 +02:00
CHANGELOG.md updated shit 2024-10-14 08:09:33 +02:00
index.js updated shit 2024-10-14 08:09:33 +02:00
LICENSE updated shit 2024-10-14 08:09:33 +02:00
package.json updated shit 2024-10-14 08:09:33 +02:00
README.md updated shit 2024-10-14 08:09:33 +02:00

MDN data

Note: We are in the process of deprecating the mdn/data package in favor of w3c/webref. If this could present a problem to your project, please contact us via our GitHub discussions. Thank you.

https://github.com/mdn/data

Maintained by the MDN team at Mozilla.

This repository contains general data for Web technologies.

This data is used in MDN documentation, to build information boxes or sidebar navigation. External tools have started to make use of this data as well. For example, the CSSTree CSS parser.

NPM version lint

Repository contents

There's a top-level directory for each broad area covered: for example, api and css. Inside each of these directories is one or more JSON files containing the data.

api

Contains data about Web APIs:

  • API inheritance (interface inheritance and mixin implementations)

css

Contains data about:

  • CSS at-rules
  • CSS properties
  • CSS selectors
  • CSS syntaxes
  • CSS types
  • CSS units

Read more about CSS data and the format of the files.

l10n

The l10n folder contains localization strings that are used in the various json files throughout this repository.

Problems?

If you find a problem, please file an issue.

Contributing

We're very happy to accept contributions to this data. Please familiarize yourself with the schema for the data you're editing, and send us a pull request. See also the Contributing file for more information.

See also