css-functions-list

List of standard and browser specific CSS functions.

MIT 12 个版本
安装
npm install css-functions-list
yarn add css-functions-list
pnpm add css-functions-list
bun add css-functions-list
README

css-functions-list

Build Status

List of standard and browser specific CSS functions.

Data sources are:

Install

npm install css-functions-list --save

Usage

import { promises as fs } from 'fs';
import functionsListPath from 'css-functions-list';

(async () => {
	const functionsList = JSON.parse(await fs.readFile(functionsListPath, 'utf8'));
	console.log(functionsList);
	/* [
		'abs',
		'acos',
		'annotation',
		'asin',
		'atan',
		'atan2',
		'attr',
		'blur',
		'brightness',
		'calc'
		// …
	]; */
})();

API

functionsListPath

Type: string

Path to CSS functions list JSON file.

License

MIT © Ivan Nikolić

版本列表
3.3.3 2026-02-10
3.3.2 2026-02-10
3.3.1 2026-02-10
3.3.0 2026-02-10
3.2.3 2024-10-09
3.2.2 2024-04-22
3.2.1 2023-10-15
3.2.0 2023-07-10
3.1.0 2022-06-03
3.0.1 2022-02-14
3.0.0 2022-02-03
2.0.0 2021-09-02