{"name":"css-functions-list","version":"3.2.2","description":"List of standard and browser specific CSS functions.","license":"MIT","author":{"name":"Ivan Nikolić","email":"niksy5@gmail.com","url":"http://ivannikolic.com"},"sideEffects":false,"type":"module","exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./index.json":{"import":"./esm/index.json","require":"./cjs/index.json"},"./package.json":"./package.json"},"main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","directories":{"test":"test"},"scripts":{"generate-list":"node generate-list.js","release":"np --no-release-draft","version":"if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then sed -i '' '/\\[unreleased\\]:/d' CHANGELOG.md && version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi","postpublish":"GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog","lint":"eslint '{index,lib/**/*,test/**/*,generate-list}.js'","test":"mocha 'test/**/*.js'","test:watch":"npm test -- --watch","build":"rollup --config rollup.config.js","module-check":"node -e 'require(\"css-functions-list\");' && node --input-type=module -e 'import \"css-functions-list\";'","prepublishOnly":"npm run build","lint:types":"tsc","prerelease":"npm run lint && npm run lint:types && npm run build && npm run module-check"},"devDependencies":{"@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"},"engines":{"node":">=12 || >=16"},"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.2.2","gitHead":"69c3c69c750204aba54d0b7fc32e7d7acd7ad297","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-c+N0v6wbKVxTu5gOBBFkr9BEdBWaqqjQeiJ8QvSRIJOf+UxlJh930m8e6/WNeODIK0mYLFkoONrnj16i2EcvfQ==","shasum":"9a54c6dd8416ed25c1079cd88234e927526c1922","tarball":"http://registry-npm.ywwl.com/css-functions-list/download/css-functions-list-3.2.2.tgz","fileCount":16,"unpackedSize":30383,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQfaOtzw7mhGIN+llFWuHTWM/KvkLx+sWMRWElceYhYwIhALjStnpMqBUHrUo9lAo7xkUE6pUbY6inFTawPQTBnqqP"}],"size":6247,"noattachment":false,"key":"/css-functions-list/-/css-functions-list-3.2.2.tgz"},"_npmUser":{"name":"niksy","email":"niksy5@gmail.com"},"maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-functions-list_3.2.2_1713768966944_0.09255128399854806"},"_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)>)\nCSS functions.\n\nData sources are:\n\n-   MDN reference on\n    [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\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(\n\t\tawait fs.readFile(functionsListPath, 'utf8')\n\t);\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/workflows/CI/badge.svg?branch=master\n\n<!-- prettier-ignore-end -->\n","publish_time":1713768967078,"_cnpm_publish_time":1713768967078,"dist-tags":{"latest":"3.3.3"}}