{"_id":"postcss-reduce-initial@9.0.7","bugs":{"url":"https://github.com/cssnano/cssnano/issues"},"dist":{"shasum":"ec19679dc324b0621f63ddec3de804f83fbdc28e","tarball":"http://registry-npm.ywwl.com/postcss-reduce-initial/download/postcss-reduce-initial-9.0.7.tgz","fileCount":17,"integrity":"sha512-5mnNVdVCf7tI1j2uYtiopoLZ6Dm+M7y4Fz32STAtTEZa7LbOf44zYBYduwd952xXshTJkRHpT2Q2UmK+XLo5ew==","signatures":[{"sig":"MEUCIQDonFKBJt0cpTpmv37NX5G7rQXDA6S6nUUwjC+/ZGQamQIgYC5DAGua24H9y+TwGNL2NekeC+QEaQj5FLGfkajrrmU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCF0hUnhF2Ugw3Zhj8Qql1dZUSP2Z0LLbd3GEbeGRyG4wIhALgAsL9zYNo2z87YiYPDtXTpRQpqFdnPhzjtErBKdOxn"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/postcss-reduce-initial@9.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25231,"size":7533,"noattachment":false,"key":"/postcss-reduce-initial/-/postcss-reduce-initial-9.0.7.tgz"},"main":"./src/index.js","name":"postcss-reduce-initial","type":"module","types":"./types/index.d.ts","author":{"url":"https://beneb.info","name":"Ben Briggs","email":"beneb.info@gmail.com"},"engines":{"node":"^22.22.3 || ^24.15.0 || >=26.0"},"exports":{".":{"types":"./types/index.d.ts","default":"./src/index.js"},"./package.json":"./package.json"},"imports":{"#getBrowsersList":{"node":"./src/lib/computeBrowsersToSupport.js","default":"./src/lib/getBrowsersForWebBuild.js"}},"license":"MIT","scripts":{"test":"node --test","acquire":"node ./script/acquire.js"},"version":"9.0.7","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"977a4594-846a-4a52-a0c1-7a910e6043ec"}},"homepage":"https://github.com/cssnano/cssnano","keywords":["css","postcss","postcss-plugin"],"repository":{"url":"git+https://github.com/cssnano/cssnano.git","type":"git"},"description":"Reduce initial definitions to the actual initial value, where possible.","directories":{},"maintainers":[{"name":"beneb","email":"beneb.info@gmail.com"},{"name":"ludovicofischer","email":"livrerie@gmail.com"},{"name":"ai","email":"andrey@sitnik.es"},{"name":"chriseppstein","email":"chris@eppsteins.net"},{"name":"andyjansson","email":"jansson.andy@gmail.com"},{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"cssnano-bot","email":"sahaaniketh@gmail.com"}],"dependencies":{"caniuse-api":"^4.0.0","browserslist":"^4.29.3"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.29","mdn-data":"2.37.2"},"peerDependencies":{"postcss":"^8.5.29"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-reduce-initial_9.0.7_1791475960615_0.09275495311263571"},"readme":"# [postcss][postcss]-reduce-initial\n\n> Reduce `initial` definitions to the _actual_ initial value, where possible.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-reduce-initial) do:\n\n```\nnpm install postcss-reduce-initial --save\n```\n\n## Examples\n\nSee the [data](src/data) for more conversions. This data is courtesy\nof Mozilla.\n\n### Convert `initial` values\n\nWhen the `initial` keyword is longer than the property value, it will\nbe converted:\n\n#### Input\n\n```css\nh1 {\n  min-width: initial;\n}\n```\n\n#### Output\n\n```css\nh1 {\n  min-width: auto;\n}\n```\n\n### Convert values back to `initial`\n\nWhen the `initial` value is smaller than the property value, it will\nbe converted:\n\n#### Input\n\n```css\nh1 {\n  transform-box: border-box;\n}\n```\n\n#### Output\n\n```css\nh1 {\n  transform-box: initial;\n}\n```\n\nThis conversion is only applied when you supply a browsers list that all support\nthe `initial` keyword; it's worth noting that Internet Explorer has no support.\n\n## API\n\n### reduceInitial([options])\n\n#### options\n\n##### ignore\n\nType: `Array<String>`\nDefault: `undefined`\n\nIt contains the Array of properties that will be ignored while reducing its value to initial.\nExample : `{ ignore : [\"min-height\"] }`\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/main/CONTRIBUTORS.md).\n\n## License\n\nThis program uses a list of CSS properties derived from data maintained my the MDN team at Mozilla and licensed under the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/).\n\nMIT © [Ben Briggs](https://beneb.info)\n\n[postcss]: https://github.com/postcss/postcss\n","publish_time":1791475960766,"_cnpm_publish_time":1791475960766,"dist-tags":{"latest":"9.0.7","next":"5.0.0-rc.2","nightly":"4.0.0-nightly.2020.2.6"}}