{"name":"postcss-minify-gradients","version":"6.0.1","description":"Minify gradient parameters with PostCSS.","main":"src/index.js","types":"types/index.d.ts","keywords":["css","postcss","postcss-plugin"],"license":"MIT","homepage":"https://github.com/cssnano/cssnano","author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git+https://github.com/cssnano/cssnano.git"},"dependencies":{"colord":"^2.9.1","postcss-value-parser":"^4.2.0","cssnano-utils":"^4.0.1"},"bugs":{"url":"https://github.com/cssnano/cssnano/issues"},"engines":{"node":"^14 || ^16 || >=18.0"},"devDependencies":{"postcss":"^8.4.32"},"peerDependencies":{"postcss":"^8.4.31"},"_id":"postcss-minify-gradients@6.0.1","_integrity":"sha512-M1RJWVjd6IOLPl1hYiOd5HQHgpp6cvJVLrieQYS9y07Yo8itAr6jaekzJphaJFR0tcg4kRewCk3kna9uHBxn/w==","_resolved":"/tmp/d93d94e9121695f3c22d3b49fc5914c1/postcss-minify-gradients-6.0.1.tgz","_from":"file:postcss-minify-gradients-6.0.1.tgz","_nodeVersion":"20.9.0","_npmVersion":"10.2.2","dist":{"integrity":"sha512-M1RJWVjd6IOLPl1hYiOd5HQHgpp6cvJVLrieQYS9y07Yo8itAr6jaekzJphaJFR0tcg4kRewCk3kna9uHBxn/w==","shasum":"4faf1880b483dc37016658aa186b42194ff9b5bc","tarball":"http://registry-npm.ywwl.com/postcss-minify-gradients/download/postcss-minify-gradients-6.0.1.tgz","fileCount":7,"unpackedSize":9917,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxLX8yEKKp8CzoG0oaJ/4M7jASBvepis6GXIrDNSK9/gIhAOB/4Ty246Z58eNQs4q+5A3nUxCgc5hcYgYM/oHoFUjF"}],"size":3423,"noattachment":false,"key":"/postcss-minify-gradients/-/postcss-minify-gradients-6.0.1.tgz"},"_npmUser":{"name":"ludovicofischer","email":"livrerie@gmail.com"},"directories":{},"maintainers":[{"name":"beneb","email":"beneb.info@gmail.com"},{"name":"ludovicofischer","email":"livrerie@gmail.com"},{"name":"ai","email":"andrey@sitnik.ru"},{"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"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-minify-gradients_6.0.1_1702574291681_0.9069656585407515"},"_hasShrinkwrap":false,"readme":"# [postcss][postcss]-minify-gradients\n\n> Minify gradient parameters with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-minify-gradients) do:\n\n```\nnpm install postcss-minify-gradients\n```\n\n\n## Example\n\nWhere possible, this module will minify gradient parameters. It can convert\nlinear gradient directional syntax to angles, remove the unnecessary `0%` and\n`100%` start and end values, and minimise color stops that use the same length\nvalues (the browser will adjust the value automatically).\n\n### Input\n\n```css\nh1 {\n    background: linear-gradient(to bottom, #ffe500 0%, #ffe500 50%, #121 50%, #121 100%)\n}\n```\n\n### Output\n\n```css\nh1 {\n    background: linear-gradient(180deg, #ffe500, #ffe500 50%, #121 0, #121)\n}\n```\n\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[postcss]: https://github.com/postcss/postcss\n","publish_time":1702574291850,"_cnpm_publish_time":1702574291850,"dist-tags":{"latest":"9.0.8","next":"5.0.0-rc.2","nightly":"4.0.0-nightly.2020.2.6"}}