{"_id":"@csstools/postcss-syntax-descriptor-syntax-production","_rev":"4266232","name":"@csstools/postcss-syntax-descriptor-syntax-production","description":"Use the syntax production in syntax descriptors","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"time":{"modified":"2026-04-06T16:28:51.000Z","created":"2025-12-27T11:59:30.837Z","2.0.0":"2026-01-14T07:25:39.183Z","1.0.1":"2025-12-27T16:55:53.901Z","1.0.0":"2025-12-27T11:59:30.837Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-syntax-descriptor-syntax-production"},"versions":{"2.0.0":{"name":"@csstools/postcss-syntax-descriptor-syntax-production","description":"Use the syntax production in syntax descriptors","version":"2.0.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/css-tokenizer":"^4.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-syntax-descriptor-syntax-production"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["postcss-plugin"],"gitHead":"c82c637eba456e7ab5b9477241f5d4d24d6127c4","_id":"@csstools/postcss-syntax-descriptor-syntax-production@2.0.0","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"shasum":"1ad51808179db70b41e3489e64f3d82c367585cc","size":2922,"noattachment":false,"key":"/@csstools/postcss-syntax-descriptor-syntax-production/-/@csstools/postcss-syntax-descriptor-syntax-production-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@csstools/postcss-syntax-descriptor-syntax-production/download/@csstools/postcss-syntax-descriptor-syntax-production-2.0.0.tgz"},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-syntax-descriptor-syntax-production_2.0.0_1768375539032_0.9159836823680447"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-14T07:25:39.183Z","publish_time":1768375539183,"_source_registry_name":"default","_cnpm_publish_time":1768375539183},"1.0.1":{"name":"@csstools/postcss-syntax-descriptor-syntax-production","description":"Use the syntax production in syntax descriptors","version":"1.0.1","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=18"},"type":"module","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"default":"./dist/index.cjs"}}},"dependencies":{"@csstools/css-tokenizer":"^3.0.4"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-syntax-descriptor-syntax-production"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["postcss-plugin"],"gitHead":"6677f6e31b6f3b70f83c8c25ecccd35ee07ea97c","types":"./dist/index.d.ts","_id":"@csstools/postcss-syntax-descriptor-syntax-production@1.0.1","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"shasum":"98590e372e547cdae60aef47cfee11f3881307dd","size":3077,"noattachment":false,"key":"/@csstools/postcss-syntax-descriptor-syntax-production/-/@csstools/postcss-syntax-descriptor-syntax-production-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@csstools/postcss-syntax-descriptor-syntax-production/download/@csstools/postcss-syntax-descriptor-syntax-production-1.0.1.tgz"},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-syntax-descriptor-syntax-production_1.0.1_1766854553711_0.4744202123715149"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-27T16:55:53.901Z","publish_time":1766854553901,"_source_registry_name":"default","_cnpm_publish_time":1766854553901},"1.0.0":{"name":"@csstools/postcss-syntax-descriptor-syntax-production","version":"1.0.0","keywords":["postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-syntax-descriptor-syntax-production@1.0.0","maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"c4183e8a4a8953f2e0b15b3184d3a7a47eb6db12","size":2928,"noattachment":false,"key":"/@csstools/postcss-syntax-descriptor-syntax-production/-/@csstools/postcss-syntax-descriptor-syntax-production-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@csstools/postcss-syntax-descriptor-syntax-production/download/@csstools/postcss-syntax-descriptor-syntax-production-1.0.0.tgz"},"main":"dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"default":"./dist/index.cjs"}}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"925c295752e15436e9ba6125b40bc82c3173662f","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-syntax-descriptor-syntax-production"},"_npmVersion":"11.6.2","description":"Use the syntax production in syntax descriptors","directories":{},"_nodeVersion":"25.1.0","dependencies":{"@csstools/css-tokenizer":"^3.0.4"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-syntax-descriptor-syntax-production_1.0.0_1766836770694_0.36779911755527017","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-12-27T11:59:30.837Z","publish_time":1766836770837,"_source_registry_name":"default","_cnpm_publish_time":1766836770837}},"readme":"# PostCSS Syntax Descriptor Syntax Production [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n`npm install @csstools/postcss-syntax-descriptor-syntax-production --save-dev`\n\n[PostCSS Syntax Descriptor Syntax Production] lets you use the `<syntax>` production in `syntax` descriptors following the [CSS Specification].\n\n```css\n@property --color {\n\tinherits: true;\n\tinitial-value: black;\n\tsyntax: <color>;\n}\n\n/* becomes */\n\n@property --color {\n\tinherits: true;\n\tinitial-value: black;\n\tsyntax: \"<color>\";\n}\n```\n\n## Usage\n\nAdd [PostCSS Syntax Descriptor Syntax Production] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-syntax-descriptor-syntax-production --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssSyntaxDescriptorSyntaxProduction = require('@csstools/postcss-syntax-descriptor-syntax-production');\n\npostcss([\n\tpostcssSyntaxDescriptorSyntaxProduction(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n\n\n## Options\n\n### preserve\n\nThe `preserve` option determines whether the original notation\nis preserved. By default, it is not preserved.\n\n```js\npostcssSyntaxDescriptorSyntaxProduction({ preserve: true })\n```\n\n```css\n@property --color {\n\tinherits: true;\n\tinitial-value: black;\n\tsyntax: <color>;\n}\n\n/* becomes */\n\n@property --color {\n\tinherits: true;\n\tinitial-value: black;\n\tsyntax: \"<color>\";\n\tsyntax: <color>;\n}\n```\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#syntax-descriptor-syntax-production\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-syntax-descriptor-syntax-production\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Syntax Descriptor Syntax Production]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production\n[CSS Specification]: https://github.com/w3c/csswg-drafts/issues/11426#issuecomment-3657538113\n","_attachments":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"license":"MIT-0"}