{"_id":"@csstools/css-syntax-patches-for-csstree@1.1.16","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"0fdd6a92cb26ac2afa17fe8c4345026ddc6fca36","tarball":"http://registry-npm.ywwl.com/@csstools/css-syntax-patches-for-csstree/download/@csstools/css-syntax-patches-for-csstree-1.1.16.tgz","fileCount":6,"integrity":"sha512-LsDbJPP/B8cPasUJyTA5S99F7C4G93ngW8hUluXz8CFeOaaRnBPtBiIlvgcPYU0HmHNz8CXg+1vwFrIB4F6Dgw==","signatures":[{"sig":"MEUCIQCHoVQwsAqzfzRNo6JWm3mfvjciPbCIjHwwm5JgzSZbPAIgRlkgS92dNJhvf3S9Ksr6IS7TrpfLNkLmfXiDxs//Od8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEPsXP8EFoSfjr+n3gy6MLAwhmK0pTR4FrvXR2T7VpkRAiBVbWVxBPMI83tMkFMCtNIkUbCFaQ2prVTAycBvAYG+pA=="}],"unpackedSize":86680,"size":20215,"noattachment":false,"key":"/@csstools/css-syntax-patches-for-csstree/-/@csstools/css-syntax-patches-for-csstree-1.1.16.tgz"},"main":"dist/index.json","name":"@csstools/css-syntax-patches-for-csstree","types":"dist/index.d.ts","funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"c309ca6fa232331beba6967ae7323c28d6d7a076","license":"MIT-0","scripts":{},"version":"1.1.16","_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/packages/css-syntax-patches-for-csstree#readme","keywords":["css","csstree","patch","syntax"],"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"packages/css-syntax-patches-for-csstree"},"_npmVersion":"11.13.0","description":"CSS syntax patches for CSS tree","directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_nodeVersion":"26.1.0","contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"_hasShrinkwrap":false,"peerDependencies":{"css-tree":"^3.2.1"},"peerDependenciesMeta":{"css-tree":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/css-syntax-patches-for-csstree_1.1.16_1793293231930_0.9666783043602238"},"readme":"# CSS Syntax Patches For CSSTree <img src=\"https://cssdb.org/images/css.svg\" alt=\"for CSS\" width=\"90\" height=\"90\" align=\"right\">\n\n[<img alt=\"npm version\" src=\"https://img.shields.io/npm/v/@csstools/css-syntax-patches-for-csstree.svg\" height=\"20\">][npm-url]\n[<img alt=\"Build Status\" src=\"https://github.com/csstools/postcss-plugins/actions/workflows/test.yml/badge.svg?branch=main\" height=\"20\">][cli-url]\n\nPatch [csstree](https://github.com/csstree/csstree) syntax definitions with the latest data from CSS specifications.  \n\n## Usage\n\n```bash\nnpm install @csstools/css-syntax-patches-for-csstree\n```\n\n```js\nimport { fork } from 'css-tree';\nimport syntax_patches from '@csstools/css-syntax-patches-for-csstree' with { type: 'json' };\n\nconst forkedLexer = fork({\n\tatrules: syntax_patches.next.atrules,\n\tproperties: syntax_patches.next.properties,\n\ttypes: syntax_patches.next.types,\n}).lexer;\n```\n\n## `next`\n\n```js\nimport syntax_patches from '@csstools/css-syntax-patches-for-csstree' with { type: 'json' };\n\nconsole.log(syntax_patches.next);\n//                         ^^^^\n```\n\nCSS specifications are often still in flux and various parts might change or disappear altogether.  \nSpecifications also contains parts that haven't been implemented yet in a browser.  \nOnly CSS that is widely adopted can be expected to be stable.\n\nThe `next` grouping contains a combination of what is currently valid in browsers and the progress in various specifications.\n\n_In the future more groupings might be added._\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[npm-url]: https://www.npmjs.com/package/@csstools/css-syntax-patches-for-csstree\n","publish_time":1793293232013,"_cnpm_publish_time":1793293232013,"dist-tags":{"latest":"1.1.16"}}