{"repo":"parcel-bundler/lightningcss","free":true,"listed":false,"github":"https://github.com/parcel-bundler/lightningcss","clone":"git clone https://github.com/parcel-bundler/lightningcss.git","description":"An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.","language":"Rust","stars":7656,"topics":["css","parser","compiler","minifier","rust","build-tool"],"license":"MPL-2.0","category":"cli-tools","readme_excerpt":"⚡️ Lightning CSS An extremely fast CSS parser, transformer, and minifier written in Rust. Use it with Parcel, as a standalone library or CLI, or via a plugin with any other tool. Features - Extremely fast – Parsing and minifying large files is completed in milliseconds, often with significantly smaller output than other tools. See benchmarks below. - Typed property values – many other CSS parsers treat property values as an untyped series of tokens. This means that each transformer that wants to do something with these values must interpret them itself, leading to duplicate work and inconsistencies. Lightning CSS parses all values using the grammar from the CSS specification, and exposes a specific value type for each property. - Browser-grade parser – Lightning CSS is built on the cssparser and selectors crates created by Mozilla and used by Firefox and Servo. These provide a solid general purpose CSS-parsing foundation on top of which Lightning CSS implements support for all specific CSS rules and properties. - Minification – One of the main purposes of Lightning CSS is to minify CSS to make it smaller. This includes many optimizations including: - Combining longhand properties into shorthands where possible. - Merging adjacent rules with the same selectors or declarations when it is safe to do so. - Combining CSS transforms into a single matrix or vice versa when smaller. - Removing vendor prefixes that are not needed, based on the provided browser targets. - Reducing calc","default_branch":null,"files":null,"tree":[],"storefront":"/r/parcel-bundler","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/parcel-bundler/lightningcss/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}