# vendors **Repository Path**: ArkTSCentralRepository/vendors ## Basic Information - **Project Name**: vendors - **Description**: vendors 是一个提供已知的浏览器供应商前缀列表的库,用于在处理 CSS 时避免重复手动添加供应商前缀。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-21 - **Last Updated**: 2024-11-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Vendors 基于[vendors](https://www.npmjs.com/package/vendors)原库7.0.0版本进行适配,所有功能代码已经转换为`ArkTS`文件 ## Install ```sh ohpm install vendors ``` ## Contents * [What is this?](#what-is-this) * [When should I use this?](#when-should-i-use-this) * [Install](#install) * [Use](#use) * [API](#api) * [`vendors`](#vendors-1) * [Types](#types) * [Compatibility](#compatibility) * [Security](#security) * [Contribute](#contribute) * [License](#license) ## What is this? This is a little list of real (as in, `mso-` and `prince-` are not included because they are not valid) vendor prefixes known to the web platform. From [Wikipedia][wiki] and the [CSS 2.1 spec][spec]. ## When should I use this? You can use this package if you’re dealing with parsing and transforming CSS and you don’t want to copy/paste these prefixes into each project. ## Use ```js import {vendors} from 'vendors' console.log(vendors) ``` Yields: ```js [ 'ah', 'apple', 'atsc', 'epub', 'hp', 'khtml', 'moz', 'ms', 'o', 'rim', 'ro', 'tc', 'wap', 'webkit', 'xv' ] ``` ## API This package exports the following identifiers: `vendors`. There is no default export. ### `vendors` List of vendor prefixes (`string[]`). ## Compatibility This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 12.20+, 14.14+, and 16.0+. It also works in Deno and modern browsers. ## Security This package is safe. ## License [MIT][license] © [Titus Wormer][author]