css-functions-list (3.2.3)
Published 2026-02-24 13:54:46 +00:00 by atheaadmin
Installation
registry=npm install css-functions-list@3.2.3"css-functions-list": "3.2.3"About this package
css-functions-list
List of standard and browser specific CSS functions.
Data sources are:
- MDN reference on CSS functions
- MDN reference on general CSS features.
- MDN browser compatibility data for CSS functions
- Manually maintained experimental, legacy and removed functions
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ć
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| @types/jsdom | ^16.2.13 |
| @types/mocha | ^9.0.0 |
| @types/node | ^16.3.0 |
| @types/node-fetch | ^2.5.12 |
| changelog-verify | ^1.1.2 |
| cpy | ^8.1.2 |
| eslint | ^8.5.0 |
| eslint-config-nitpick | ^11.1.0 |
| eslint-config-prettier | ^8.3.0 |
| eslint-plugin-prettier | ^4.0.0 |
| execa | ^5.1.1 |
| github-release-from-changelog | ^2.1.1 |
| husky | ^4.3.0 |
| isomorphic-unfetch | ^3.1.0 |
| jsdom | ^17.0.0 |
| lint-staged | ^10.4.2 |
| mocha | ^10.2.0 |
| np | ^7.6.0 |
| prettier | ^2.4.0 |
| rollup | ^2.32.1 |
| typescript | ^4.3.5 |
| version-changelog | ^3.1.1 |
| write-json-file | ^4.3.0 |
Keywords
css
functions
list