{"versions":{"1.0.0":{"name":"@csstools/postcss-random-function","version":"1.0.0","keywords":["css","postcss-plugin","random"],"license":"MIT-0","_id":"@csstools/postcss-random-function@1.0.0","maintainers":[{"name":"anonymous","email":"romainmenke@gmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"jonathantneal@hotmail.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-random-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"6d303c178976b3aba7d6d5b8056cdb58b4f77a1c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-1.0.0.tgz","fileCount":7,"integrity":"sha512-48wM9/fTwOYtz3nlxqvr7gWvPakje60DitnpyN6WJFXUWBT5Nchyp3PnCc5xTecISm7a5nsR7aOvPrAWutvhRA==","signatures":[{"sig":"MEUCIFyEYg65KDNdrducfJYE/QIWkSSn/vv0nxPPlznSbfdSAiEArmRTUqYdO93S8srfI9qk6+YV4LeFUkoUakIULg5TMxM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6897,"size":2918},"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":"37aaaccfb72a6eabbeabad1646c338a8e59554c4","scripts":{},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-random-function"},"_npmVersion":"10.9.0","description":"Use round, rem and mod functions in CSS","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@csstools/css-calc":"^2.1.0","@csstools/css-tokenizer":"^3.0.3","@csstools/css-parser-algorithms":"^3.0.4"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-random-function_1.0.0_1731322732986_0.27423873860853387","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-11-11T10:58:53.139Z","publish_time":1731322733139,"_source_registry_name":"default"},"1.0.1":{"name":"@csstools/postcss-random-function","description":"Use the random function in CSS","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-calc":"^2.1.0","@csstools/css-parser-algorithms":"^3.0.4","@csstools/css-tokenizer":"^3.0.3"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-random-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","postcss-plugin","random"],"_id":"@csstools/postcss-random-function@1.0.1","gitHead":"7efa9f66b5c90715fb77415a7c591a2346a0dd2c","types":"./dist/index.d.ts","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-Ab/tF8/RXktQlFwVhiC70UNfpFQRhtE5fQQoP2pO+KCPGLsLdWFiOuHgSRtBOqEshCVAzR4H6o38nhvRZq8deA==","shasum":"73a0b62b5dbbc03c25a28f085235eb61b09a2fb0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-1.0.1.tgz","fileCount":7,"unpackedSize":6801,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLOt+5t4cSqmiVr9raiYSZTnaybQkoXQgt/dntbCtRmgIgGv2v2juE0d8mnDVRlbOBtyvlD/XUa4ev/9HobwtCHP0="}],"size":2888},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"romainmenke@gmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-random-function_1.0.1_1731325413455_0.1518854309615787"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-11T11:43:33.632Z","publish_time":1731325413632,"_source_registry_name":"default"},"1.0.2":{"name":"@csstools/postcss-random-function","description":"Use the random function in CSS","version":"1.0.2","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-calc":"^2.1.1","@csstools/css-parser-algorithms":"^3.0.4","@csstools/css-tokenizer":"^3.0.3"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-random-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","postcss-plugin","random"],"_id":"@csstools/postcss-random-function@1.0.2","gitHead":"ff071ed6786539898ce3f4e875526c618fc97ff0","types":"./dist/index.d.ts","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-vBCT6JvgdEkvRc91NFoNrLjgGtkLWt47GKT6E2UDn3nd8ZkMBiziQ1Md1OiKoSsgzxsSnGKG3RVdhlbdZEkHjA==","shasum":"699702820f19bb6b9632966ff44d8957db6889d2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-1.0.2.tgz","fileCount":7,"unpackedSize":6988,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCke4DrFL0aSJapA2PEAKtcnsUoBPhPpa4evFJ27VE1UQIhAKxKdA2E2kr9J71LiKLs+Ag5v+n/zB+X53CnWWKSmWuF"}],"size":2919},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-random-function_1.0.2_1735321403184_0.6269071361323291"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-27T17:43:23.440Z","publish_time":1735321403440,"_source_registry_name":"default"},"1.0.3":{"name":"@csstools/postcss-random-function","description":"Use the random function in CSS","version":"1.0.3","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-calc":"^2.1.2","@csstools/css-parser-algorithms":"^3.0.4","@csstools/css-tokenizer":"^3.0.3"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-random-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","postcss-plugin","random"],"_id":"@csstools/postcss-random-function@1.0.3","gitHead":"c5435a4bbfeae85ab161a18b3fc1cb632a6ec989","types":"./dist/index.d.ts","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-dbNeEEPHxAwfQJ3duRL5IPpuD77QAHtRl4bAHRs0vOVhVbHrsL7mHnwe0irYjbs9kYwhAHZBQTLBgmvufPuRkA==","shasum":"f737f5bab3826fc71fd663b21e70ee392b144f20","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-1.0.3.tgz","fileCount":7,"unpackedSize":6988,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICV9itokD8XY0LNQwPXGJDqoBfYAcouQn39A3YZAOy+gAiBrOHHzIZaDzsPYRpJvF/j09UKdyrZ2sKqQSzcUDacbwQ=="}],"size":2920},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-random-function_1.0.3_1740330450556_0.704012993561121"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-23T17:07:30.743Z","publish_time":1740330450743,"_source_registry_name":"default"},"2.0.0":{"name":"@csstools/postcss-random-function","description":"Use the random function in CSS","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":">=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-calc":"^2.1.3","@csstools/css-parser-algorithms":"^3.0.4","@csstools/css-tokenizer":"^3.0.3"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-random-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","postcss-plugin","random"],"_id":"@csstools/postcss-random-function@2.0.0","gitHead":"1c2a4038a688a32dff007cee0d4c6abee236ac79","types":"./dist/index.d.ts","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-MYZKxSr4AKfjECL8vg49BbfNNzK+t3p2OWX+Xf7rXgMaTP44oy/e8VGWu4MLnJ3NUd9tFVkisLO/sg+5wMTNsg==","shasum":"38da06d102bbe65504023278f670895c4a1ceef9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-2.0.0.tgz","fileCount":7,"unpackedSize":7730,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAKRnvSFGaGUpjXCu/jr2tLchEuHyKLKaauIQ832Dy0rAiEAqF/dCiUsbL7eICO2tCnvbKEKKd9qc+Tjzq/r1gt+j7U="}],"size":3262},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-random-function_2.0.0_1745079356132_0.9325788692451809"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-19T16:15:56.351Z","publish_time":1745079356351,"_source_registry_name":"default"},"2.0.1":{"name":"@csstools/postcss-random-function","description":"Use the random function in CSS","version":"2.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-calc":"^2.1.4","@csstools/css-parser-algorithms":"^3.0.5","@csstools/css-tokenizer":"^3.0.4"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-random-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","postcss-plugin","random"],"_id":"@csstools/postcss-random-function@2.0.1","gitHead":"310668cb7d99e906f7ed786cea7e36f92a95b6e6","types":"./dist/index.d.ts","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-q+FQaNiRBhnoSNo+GzqGOIBKoHQ43lYz0ICrV+UudfWnEF6ksS6DsBIJSISKQT2Bvu3g4k6r7t0zYrk5pDlo8w==","shasum":"3191f32fe72936e361dadf7dbfb55a0209e2691e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-2.0.1.tgz","fileCount":7,"unpackedSize":8130,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCWnmo/ytL1/MhFtGGoadVCuqPBYBR6DyYKvGwgopixfAIhAOHBjBjm6kozvsQmMSAS4Te//+/3ACBlZyId6ktSsFWI"}],"size":3273},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-random-function_2.0.1_1748343091626_0.8327266026962967"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-27T10:51:31.805Z","publish_time":1748343091805,"_source_registry_name":"default"},"3.0.0":{"name":"@csstools/postcss-random-function","description":"Use the random function in CSS","version":"3.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-calc":"^3.0.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-random-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","postcss-plugin","random"],"gitHead":"188a9c90921110ff7da9b7ee5a272fbcd75bf890","_id":"@csstools/postcss-random-function@3.0.0","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-H/Zt5o9NAd8mowq3XRy8uU19wOEe8sbKyKOKxrzOdG0rz2maA4fLcXc9MQucdm3s4zMDfVJtCqvwrLP7lKWybA==","shasum":"907ee541555a278fa106b84a9da1387895f1814c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-3.0.0.tgz","fileCount":6,"unpackedSize":7451,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDjPPHtYmO+CSXQn89BjJzJqmo5N6MAU9KPq/wEGwhT2AIgZ+NE8aMuZGtt9BSydHNd+l0zQpTg3p+QWr9jhGMxCnQ="}],"size":3157},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-random-function_3.0.0_1768376076731_0.5631806790466094"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-14T07:34:36.879Z","publish_time":1768376076879,"_source_registry_name":"default"},"3.0.1":{"name":"@csstools/postcss-random-function","description":"Use the random function in CSS","version":"3.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":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/css-calc":"^3.1.1","@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-random-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","postcss-plugin","random"],"gitHead":"bbb1db837716cab602af208ddb54e0fe3aa58216","_id":"@csstools/postcss-random-function@3.0.1","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-SvKGfmj+WHfn4bWHaBYlkXDyU3SlA3fL8aaYZ8Op6M8tunNf3iV9uZyZZGWMCbDw0sGeoTmYZW9nmKN8Qi/ctg==","shasum":"d085d24e31c90652efe77c29edb45c00f4b8569d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-3.0.1.tgz","fileCount":6,"unpackedSize":6791,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCtduyYM3qZGYUeB6vPpOYX86fGr1csKsOvH63FaxWDewIhAL6Hols7sGtdMf+O/P9fJxUXJxF2Vs4qJ0gS52AE4ZHc"}],"size":3031},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-random-function_3.0.1_1771686376817_0.1791505520031671"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-21T15:06:16.959Z","publish_time":1771686376959,"_source_registry_name":"default"},"3.0.2":{"name":"@csstools/postcss-random-function","description":"Use the random function in CSS","version":"3.0.2","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-calc":"^3.2.0","@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-random-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["css","postcss-plugin","random"],"gitHead":"2f0fd3532b986e63ea07bf19d19f9b236f4c054f","_id":"@csstools/postcss-random-function@3.0.2","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-iQ3vfX1LIqRXX7P1/ol45EpJ5CTWdQCAfdpTlHlsRPU4jMQeepmeNjQ0F60bj8RWTS1RkJ318fzzq4mUlyZ7hA==","shasum":"4a4eeffa6cc5dacb0386aa242863f6a9e935b3b4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@csstools/postcss-random-function/-/postcss-random-function-3.0.2.tgz","fileCount":6,"unpackedSize":6788,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD9wdrcrspw5SPxEP92GzMLAuoHHhATishl3izKyS2UtwIgC6LQFkjceaWUKVvbZMewTPHWuyVvurwaLOIXp+y4aBE="}],"size":3023},"_npmUser":{"name":"anonymous","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonathantneal@hotmail.com"},{"name":"anonymous","email":"sombragriselros@gmail.com"},{"name":"anonymous","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-random-function_3.0.2_1776014787185_0.753848268044218"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-12T17:26:27.311Z","publish_time":1776014787311,"_source_registry_name":"default"}},"dist-tags":{"latest":"3.0.2"},"name":"@csstools/postcss-random-function","time":{"created":"2024-11-11T11:53:55.629Z","modified":"2026-04-12T17:26:46.475Z","1.0.0":"2024-11-11T10:58:53.139Z","1.0.1":"2024-11-11T11:43:33.632Z","1.0.2":"2024-12-27T17:43:23.440Z","1.0.3":"2025-02-23T17:07:30.743Z","2.0.0":"2025-04-19T16:15:56.351Z","2.0.1":"2025-05-27T10:51:31.805Z","3.0.0":"2026-01-14T07:34:36.879Z","3.0.1":"2026-02-21T15:06:16.959Z","3.0.2":"2026-04-12T17:26:27.311Z"},"readme":"# PostCSS Random Function [<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-random-function --save-dev`\n\n[PostCSS Random Function] lets you use the `random` function, following the [CSS Values 5] specification.\n\n```css\ndiv {\n\tcolor: oklch(0.7 0.2 random(120deg, 240deg));\n}\n\ndiv {\n\tcolor: oklch(0.7 0.2 random(120deg, 240deg, 7deg));\n}\n\ndiv {\n\tmargin: random(10px, 100px) random(10px, 100px);\n\tpadding: random(--padding, 10px, 100px) random(--padding, 10px, 100px);\n}\n\n/* becomes */\n\ndiv {\n\tcolor: oklch(0.7 0.2 177.17235deg);\n}\n\ndiv {\n\tcolor: oklch(0.7 0.2 176deg);\n}\n\ndiv {\n\tmargin: 41.7525px 70.01679px;\n\tpadding: 44.03856px 44.03856px;\n}\n```\n\n> [!NOTE]\n> Generated values are deterministic pseudo random numbers.\n> Generating values twice with the same input will give the same result.\n> The input length of the CSS source file is used as a random seed.\n\n## Usage\n\nAdd [PostCSS Random Function] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-random-function --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssRandomFunction = require('@csstools/postcss-random-function');\n\npostcss([\n\tpostcssRandomFunction(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n\n\n## ⚠️ About custom properties\n\nGiven the dynamic nature of custom properties it's impossible to know what the variable value is, which means the plugin can't compute a final value for the stylesheet. \n\nBecause of that, any usage that contains a `var` is skipped.\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\npostcssRandomFunction({ preserve: true })\n```\n\n```css\ndiv {\n\tcolor: oklch(0.7 0.2 random(120deg, 240deg));\n}\n\ndiv {\n\tcolor: oklch(0.7 0.2 random(120deg, 240deg, 7deg));\n}\n\ndiv {\n\tmargin: random(10px, 100px) random(10px, 100px);\n\tpadding: random(--padding, 10px, 100px) random(--padding, 10px, 100px);\n}\n\n/* becomes */\n\ndiv {\n\tcolor: oklch(0.7 0.2 177.17235deg);\n\tcolor: oklch(0.7 0.2 random(120deg, 240deg));\n}\n\ndiv {\n\tcolor: oklch(0.7 0.2 176deg);\n\tcolor: oklch(0.7 0.2 random(120deg, 240deg, 7deg));\n}\n\ndiv {\n\tmargin: 41.7525px 70.01679px;\n\tmargin: random(10px, 100px) random(10px, 100px);\n\tpadding: 44.03856px 44.03856px;\n\tpadding: random(--padding, 10px, 100px) random(--padding, 10px, 100px);\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/#random-function\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-random-function\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Random Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-random-function\n[CSS Values 5]: https://drafts.csswg.org/css-values-5/#random","users":{}}