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.

77 lines
1.3 KiB

4 years ago
  1. # vendors
  2. [![Build][build-badge]][build]
  3. [![Downloads][downloads-badge]][downloads]
  4. [![Size][size-badge]][size]
  5. <!--lint disable no-html-->
  6. List of (real<sup></sup>) vendor prefixes known to the web platform.
  7. From [Wikipedia][wiki] and the [CSS 2.1 spec][spec].
  8. † — real, as in, `mso-` and `prince-` are not included because they are
  9. not valid.
  10. ## Installation
  11. [npm][]:
  12. ```bash
  13. npm install vendors
  14. ```
  15. ## Usage
  16. ```javascript
  17. var vendors = require('vendors')
  18. console.log(vendors)
  19. ```
  20. Yields:
  21. ```js
  22. [ 'ah',
  23. 'apple',
  24. 'atsc',
  25. 'epub',
  26. 'hp',
  27. 'khtml',
  28. 'moz',
  29. 'ms',
  30. 'o',
  31. 'rim',
  32. 'ro',
  33. 'tc',
  34. 'wap',
  35. 'webkit',
  36. 'xv' ]
  37. ```
  38. ## License
  39. [MIT][license] © [Titus Wormer][author]
  40. <!-- Definitions -->
  41. [build-badge]: https://img.shields.io/travis/wooorm/vendors.svg
  42. [build]: https://travis-ci.org/wooorm/vendors
  43. [downloads-badge]: https://img.shields.io/npm/dm/vendors.svg
  44. [downloads]: https://www.npmjs.com/package/vendors
  45. [size-badge]: https://img.shields.io/bundlephobia/minzip/vendors.svg
  46. [size]: https://bundlephobia.com/result?p=vendors
  47. [npm]: https://docs.npmjs.com/cli/install
  48. [license]: license
  49. [author]: https://wooorm.com
  50. [wiki]: https://en.wikipedia.org/wiki/CSS_hack#Browser_prefixes
  51. [spec]: https://www.w3.org/TR/CSS21/syndata.html#vendor-keyword-history