{"name":"css-functions-list","version":"3.3.3","description":"List of standard and browser specific CSS functions.","license":"MIT","author":{"name":"Ivan Nikolić","email":"niksy5@gmail.com","url":"http://ivannikolic.com"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./index.json":"./dist/index.json","./package.json":"./package.json"},"main":"dist/index.cjs","directories":{"test":"test"},"scripts":{"build":"rolldown --config rolldown.config.js && cp index.json dist/index.json","generate-list":"node generate-list.js","lint":"eslint '{index,lib/**/*,test/**/*,generate-list}.{js,cjs}'","lint:types":"tsc","module-check":"node -e 'require(\"css-functions-list\");' && node --input-type=module -e 'import \"css-functions-list\";'","prepare":"if [[ -x \"$(command -v husky)\" ]]; then husky; fi","prepublishOnly":"npm run build","postpublish":"GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog","prerelease":"npm run lint && npm run lint:types && npm run build && npm run module-check","release":"np --no-release-draft","test":"mocha 'test/**/*.js'","test:watch":"npm test -- --watch","version":"version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md"},"devDependencies":{"@swc-node/register":"^1.11.1","@types/jsdom":"^16.2.15","@types/mocha":"^10.0.10","@types/node":"^22.19.9","@types/node-fetch":"^2.6.13","changelog-verify":"^1.1.2","eslint":"^9.39.2","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","husky":"^9.1.7","isomorphic-unfetch":"^4.0.2","jsdom":"^28.0.0","lint-staged":"^15.5.2","mocha":"^10.8.2","np":"^10.3.0","prettier":"^3.8.1","rolldown":"^1.0.0-rc.3","rolldown-plugin-dts":"^0.17.8","typescript":"^5.9.3","version-changelog":"^3.1.1","write-json-file":"^7.0.0"},"engines":{"node":">=12"},"keywords":["css","functions","list"],"repository":{"type":"git","url":"git+https://github.com/niksy/css-functions-list.git"},"bugs":{"url":"https://github.com/niksy/css-functions-list/issues"},"homepage":"https://github.com/niksy/css-functions-list#readme","_id":"css-functions-list@3.3.3","gitHead":"974d425bd4ea8eeae624423e26071c76f236590b","types":"./dist/index.d.ts","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-8HFEBPKhOpJPEPu70wJJetjKta86Gw9+CCyCnB3sui2qQfOvRyqBy4IKLKKAwdMpWb2lHXWk9Wb4Z6AmaUT1Pg==","shasum":"c4ab5008659de2e3baf3752c8fdef7662f3ffe23","tarball":"http://registry-npm.ywwl.com/css-functions-list/download/css-functions-list-3.3.3.tgz","fileCount":11,"unpackedSize":21633,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDvhNIYCM7tqTDoFQvJy1myqIgN3wvQIivoZblSEAy5QAIhAKNOUknK3LuTtX7Yq2sHBPLLNz0hgAmPZ3Lm8l/aBqwP"}],"size":6479,"noattachment":false,"key":"/css-functions-list/-/css-functions-list-3.3.3.tgz"},"_npmUser":{"name":"niksy","email":"niksy5@gmail.com"},"maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/css-functions-list_3.3.3_1770724145554_0.3198196248483436"},"_hasShrinkwrap":false,"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":1770724145700,"_cnpm_publish_time":1770724145700,"dist-tags":{"latest":"3.3.3"}}