{"_id":"@csstools/postcss-syntax-descriptor-syntax-production","_rev":"1757716","name":"@csstools/postcss-syntax-descriptor-syntax-production","description":"Use the syntax production in syntax descriptors","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"time":{"modified":"2026-11-22T02:51:05.000Z","created":"2025-12-27T11:59:30.837Z","2.0.2":"2026-11-17T12:23:46.157Z","2.0.1":"2026-09-25T14:33:35.980Z","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":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-syntax-descriptor-syntax-production"},"versions":{"2.0.2":{"_id":"@csstools/postcss-syntax-descriptor-syntax-production@2.0.2","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"2e94b138f30ba6bfc39cea16e5cdca463b874621","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-syntax-descriptor-syntax-production/download/@csstools/postcss-syntax-descriptor-syntax-production-2.0.2.tgz","fileCount":6,"integrity":"sha512-OTxaQhq+tlQDGpDUvrbUrvqiFMLgCx/MlYfitqfLXro5S7+pV+wCg2MTjlBd39Z4l6MeAeKE8RinPuSbgSJzGA==","signatures":[{"sig":"MEYCIQDUDw6dcHdhBSMX3zTEp64/xDGcPx2PksCvtLRqk8MoDQIhAKhupmSu+oxJlmBZ20RJDEjMOhvjBOQCocuURk/wsFbt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDw94dyFFRJC2khx08I+XG3VZD2EECcgSiApFClT3CXMAIgWMpT8pCVeqQQuiGPAH7Ssg9D8pv+BD6UfxR02iGYkAM="}],"unpackedSize":6487,"size":2847,"noattachment":false,"key":"/@csstools/postcss-syntax-descriptor-syntax-production/-/@csstools/postcss-syntax-descriptor-syntax-production-2.0.2.tgz"},"name":"@csstools/postcss-syntax-descriptor-syntax-production","type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"f2f8ac5791b9945d22f43582ebf8ee5dd9e04067","license":"MIT-0","scripts":{},"version":"2.0.2","_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production#readme","keywords":["css","descriptor","postcss","postcss-plugin","syntax"],"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-syntax-descriptor-syntax-production"},"_npmVersion":"11.13.0","description":"Use the syntax production in syntax descriptors","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"}],"dependencies":{"@csstools/css-tokenizer":"^4.0.3"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-syntax-descriptor-syntax-production_2.0.2_1794918226064_0.960737798398087"},"publish_time":1794918226157,"_cnpm_publish_time":1794918226157},"2.0.1":{"_id":"@csstools/postcss-syntax-descriptor-syntax-production@2.0.1","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"16321b1b2ce2b25c9c47e82691fa65f74c240c23","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-syntax-descriptor-syntax-production/download/@csstools/postcss-syntax-descriptor-syntax-production-2.0.1.tgz","fileCount":6,"integrity":"sha512-2FW5SFi8vseAzei48sBr399NuC8NsTkey9QdbLOWDHNamR9mo2jYeZlgyQnNmVvbRLgi2mMoXRjfKDNRCnbi0g==","signatures":[{"sig":"MEQCIGB6Ccp7oPLzYc6Dt1WtiYt7oVEYr+yO7Y56ToeVpjL/AiAPoDYElp7W+yITyyhHffP22jUKMliKPUFZnodNzj3Emg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFCNtjdcDZjOKPDuv2Yly0VrWKBLDrUx3Tk/AjOjAxhmAiEA+M1TS3EpGACwV56TksCzZcnD40MturQk7EWXmOVAZV4="}],"unpackedSize":6670,"size":2845,"noattachment":false,"key":"/@csstools/postcss-syntax-descriptor-syntax-production/-/@csstools/postcss-syntax-descriptor-syntax-production-2.0.1.tgz"},"name":"@csstools/postcss-syntax-descriptor-syntax-production","type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"16aaca68c8ba7b9585b3050c9f713083814db6ec","license":"MIT-0","scripts":{},"version":"2.0.1","_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-syntax-descriptor-syntax-production#readme","keywords":["postcss-plugin"],"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-syntax-descriptor-syntax-production"},"_npmVersion":"11.13.0","description":"Use the syntax production in syntax descriptors","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"}],"dependencies":{"@csstools/css-tokenizer":"^4.0.2"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-syntax-descriptor-syntax-production_2.0.1_1790346815886_0.5422727694160672"},"publish_time":1790346815980,"_cnpm_publish_time":1790346815980},"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":{"integrity":"sha512-elYcbdiBXAkPqvojB9kIBRuHY6htUhjSITtFQ+XiXnt6SvZCbNGxQmaaw6uZ7SPHu/+i/XVjzIt09/1k3SIerQ==","shasum":"1ad51808179db70b41e3489e64f3d82c367585cc","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-syntax-descriptor-syntax-production/download/@csstools/postcss-syntax-descriptor-syntax-production-2.0.0.tgz","fileCount":6,"unpackedSize":6609,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFHVvTX2yqZX0ATsYHc7K2uy581tgMIe/gJ+sLj6vcuiAiEAqEP1DV1icP1Dg+Fuz0NR0agywzTv0JDya8zCDtgvm9g="}],"size":2922,"noattachment":false,"key":"/@csstools/postcss-syntax-descriptor-syntax-production/-/@csstools/postcss-syntax-descriptor-syntax-production-2.0.0.tgz"},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-syntax-descriptor-syntax-production_2.0.0_1768375539032_0.9159836823680447"},"_hasShrinkwrap":false,"publish_time":1768375539183,"_cnpm_publish_time":1768375539183},"1.0.1":{"name":"@csstools/postcss-syntax-descriptor-syntax-production","version":"1.0.1","keywords":["postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-syntax-descriptor-syntax-production@1.0.1","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"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":"98590e372e547cdae60aef47cfee11f3881307dd","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-syntax-descriptor-syntax-production/download/@csstools/postcss-syntax-descriptor-syntax-production-1.0.1.tgz","fileCount":7,"integrity":"sha512-GneqQWefjM//f4hJ/Kbox0C6f2T7+pi4/fqTqOFGTL3EjnvOReTqO1qUQ30CaUjkwjYq9qZ41hzarrAxCc4gow==","signatures":[{"sig":"MEUCIQCU4GP5eMJSvh+Q0vvTls2b3ZVqEUeJV+opSrv5XKbPQgIgfIy1Z8tuZd7Qji50zQ7wLPLTj5U6A9lJgNYOXhB/VZc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7514,"size":3077,"noattachment":false,"key":"/@csstools/postcss-syntax-descriptor-syntax-production/-/@csstools/postcss-syntax-descriptor-syntax-production-1.0.1.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":"6677f6e31b6f3b70f83c8c25ecccd35ee07ea97c","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.1_1766854553711_0.4744202123715149","host":"s3://npm-registry-packages-npm-production"},"publish_time":1766854553901,"_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":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"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","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-syntax-descriptor-syntax-production/download/@csstools/postcss-syntax-descriptor-syntax-production-1.0.0.tgz","fileCount":7,"integrity":"sha512-UbPrFTqwjVhLuFYmXHiO/+5XhnyLaq27pL25HsWJnhH1NCn+RIK8xQyG0pYx/2MtC5Faji/Vc38zvqLz4fjM8w==","signatures":[{"sig":"MEUCICEiJ5PcGR7yuCKZRGchp/8SJwwa4+lTfB8JLF0FmY1tAiEA7d3zM4eiuPeLZXR9kfoQPmzzqnqTwAh/zXbEWLBPhCM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7042,"size":2928,"noattachment":false,"key":"/@csstools/postcss-syntax-descriptor-syntax-production/-/@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"},"publish_time":1766836770837,"_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"}