You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.9 KiB

4 years ago
  1. # MDN data
  2. [https://github.com/mdn/data](https://github.com/mdn/data)
  3. Maintained by the [MDN team at Mozilla](https://wiki.mozilla.org/MDN).
  4. This repository contains general data for Web technologies.
  5. This data is used in MDN documentation, to build
  6. [information boxes](https://developer.mozilla.org/en-US/docs/Web/CSS/background)
  7. or [sidebar navigation](https://developer.mozilla.org/en-US/docs/Web/API/Window).
  8. External tools have started to make use of this data as well.
  9. For example, the [CSSTree](https://github.com/csstree/csstree/) CSS parser.
  10. [![NPM version](https://img.shields.io/npm/v/mdn-data.svg)](https://www.npmjs.com/package/mdn-data)
  11. [![Build Status](https://travis-ci.org/mdn/data.svg?branch=master)](https://travis-ci.org/mdn/data)
  12. ## Repository contents
  13. There's a top-level directory for each broad area covered: for example, "api",
  14. "css", "svg". Inside each of these directories is one or more
  15. JSON files containing the data.
  16. ### api
  17. Contains data about Web APIs:
  18. * API inheritance (interface inheritance and mixin implementations)
  19. ### css
  20. Contains data about:
  21. * CSS at-rules
  22. * CSS properties
  23. * CSS selectors
  24. * CSS syntaxes
  25. * CSS types
  26. * CSS units
  27. Read more about [CSS data](https://github.com/mdn/data/blob/master/css/readme.md) and the format of the files.
  28. ### l10n
  29. The l10n folder contains localization strings that are used in the various
  30. json files throughout this repository.
  31. ## Problems?
  32. If you find a problem, please [file an issue](https://github.com/mdn/data/issues/new).
  33. ## Contributing
  34. We're very happy to accept contributions to this data. Please familiarize yourself
  35. with the schema for the data you're editing, and send us a pull request. See also the [Contributing file](https://github.com/mdn/data/blob/master/CONTRIBUTING.md) for more information.
  36. ## See also
  37. * [https://github.com/mdn/browser-compat-data](https://github.com/mdn/browser-compat-data)
  38. for compatibility data for Web technologies.