{"name":"css-functions-list","version":"3.3.0","keywords":["css","functions","list"],"author":{"url":"http://ivannikolic.com","name":"Ivan Nikolić","email":"niksy5@gmail.com"},"license":"MIT","_id":"css-functions-list@3.3.0","maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"homepage":"https://github.com/niksy/css-functions-list#readme","bugs":{"url":"https://github.com/niksy/css-functions-list/issues"},"dist":{"shasum":"2920d305653aa7aa487abf1b7db62d39b350a3c1","tarball":"http://registry-npm.ywwl.com/css-functions-list/download/css-functions-list-3.3.0.tgz","fileCount":10,"integrity":"sha512-KrJRY0OoxVIEMpGZHuw7m20Lxnwi8FlJeZHgu6+61GIpcvLg08paBSaMUuzBbRKnqN52UeavH+9jYeozD/Lj0w==","signatures":[{"sig":"MEUCIQDjtLha5gi7yJRwCj65MRHMNKtlThPsSfW+v7XetbJSEAIgeK4DJWitVPqsbsl1m+L6BIQ5ktBSywvq+NBWH2OMa0I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8774,"size":3665,"noattachment":false,"key":"/css-functions-list/-/css-functions-list-3.3.0.tgz"},"main":"dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=12"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./index.json":{"import":"./esm/index.json"},"./package.json":"./package.json"},"gitHead":"89ac2aaec049890305abae0bd5a03cba9587145d","scripts":{"lint":"eslint '{index,lib/**/*,test/**/*,generate-list}.{js,cjs}'","test":"mocha 'test/**/*.js'","build":"rolldown --config rolldown.config.js","prepare":"if [[ -x \"$(command -v husky)\" ]]; then husky; fi","release":"np --no-release-draft","version":"version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md","lint:types":"tsc","prerelease":"npm run lint && npm run lint:types && npm run build && npm run module-check","test:watch":"npm test -- --watch","postpublish":"GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog","module-check":"node -e 'require(\"css-functions-list\");' && node --input-type=module -e 'import \"css-functions-list\";'","generate-list":"node generate-list.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"niksy","email":"niksy5@gmail.com"},"repository":{"url":"git+https://github.com/niksy/css-functions-list.git","type":"git"},"_npmVersion":"10.9.3","description":"List of standard and browser specific CSS functions.","directories":{"test":"test"},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"np":"^10.3.0","husky":"^9.1.7","jsdom":"^28.0.0","mocha":"^10.8.2","eslint":"^9.39.2","prettier":"^3.8.1","rolldown":"^1.0.0-rc.3","typescript":"^5.9.3","@types/node":"^22.19.9","lint-staged":"^15.5.2","@types/jsdom":"^16.2.15","@types/mocha":"^10.0.10","write-json-file":"^7.0.0","changelog-verify":"^1.1.2","@types/node-fetch":"^2.6.13","version-changelog":"^3.1.1","@swc-node/register":"^1.11.1","isomorphic-unfetch":"^4.0.2","rolldown-plugin-dts":"^0.17.8","eslint-config-nitpick":"^14.2.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","github-release-from-changelog":"^2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/css-functions-list_3.3.0_1770716814090_0.9748277931085376","host":"s3://npm-registry-packages-npm-production"},"readme":"# css-functions-list\n\n[![Build Status][ci-img]][ci]\n\nList of standard and\n[browser specific](<(https://developer.mozilla.org/en-US/docs/Glossary/Vendor_Prefix)>) CSS\nfunctions.\n\nData sources are:\n\n- MDN reference on [CSS functions](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Functions)\n- MDN reference on\n  [general CSS features](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference).\n- MDN\n  [browser compatibility data for CSS functions](https://github.com/mdn/browser-compat-data/tree/main/css/types)\n- Manually maintained experimental, legacy and removed functions\n\n## Install\n\n```sh\nnpm install css-functions-list --save\n```\n\n## Usage\n\n```js\nimport { promises as fs } from 'fs';\nimport functionsListPath from 'css-functions-list';\n\n(async () => {\n\tconst functionsList = JSON.parse(await fs.readFile(functionsListPath, 'utf8'));\n\tconsole.log(functionsList);\n\t/* [\n\t\t'abs',\n\t\t'acos',\n\t\t'annotation',\n\t\t'asin',\n\t\t'atan',\n\t\t'atan2',\n\t\t'attr',\n\t\t'blur',\n\t\t'brightness',\n\t\t'calc'\n\t\t// …\n\t]; */\n})();\n```\n\n## API\n\n### functionsListPath\n\nType: `string`\n\nPath to CSS functions list JSON file.\n\n## License\n\nMIT © [Ivan Nikolić](http://ivannikolic.com)\n\n<!-- prettier-ignore-start -->\n\n[ci]: https://github.com/niksy/css-functions-list/actions?query=workflow%3ACI\n[ci-img]: https://github.com/niksy/css-functions-list/actions/workflows/ci.yml/badge.svg?branch=master\n\n<!-- prettier-ignore-end -->\n","publish_time":1770716814276,"_cnpm_publish_time":1770716814276,"dist-tags":{"latest":"3.3.3"}}