Meta tags:
description= An extremely fast CSS parser, transformer, bundler, and minifier.;
Headings (most frequently used words):
css, lightning, an, extremely, fast, parser, transformer, bundler, and, minifier, light, speed, live, in, the, future, crush, it, modules, browser, grade, target, browsers, input, output,
Text of the page (most frequently used words):
css (27), lightning (15), and (14), color (9), the (7), more (6), for (5), your (5), dimension (4), browser (4), typography (4), #output (4), url (3), repeat (3), size (3), this (3), which (3), properties (3), rust (3), name (3), from (3), can (3), lines (3), time (3), features (3), position (2), lengthpercentage (2), length (2), rgba (2), background (2), custom (2), reduces (2), performance (2), rules (2), written (2), used (2), heading (2), egl3uq_heading (2), composes (2), gray (2), names (2), javascript (2), also (2), classes (2), variables (2), are (2), modules (2), bootstrap (2), 000 (2), see (2), benchmarks (2), readme (2), esbuild (2), cssnano (2), minifier (2), removes (2), unnecessary (2), vendor (2), prefixes (2), compatible (2), fast (2), build (2), faster (2), foo (2), automatically (2), targets (2), you (2), code (2), syntax (2), based (2), use (2), future (2), minify (2), over (2), docs (2), copyright, 2024, devon, govett, parcel, contributors, image, red, green, blue, alpha, width, height, attachment, origin, clip, borderbox, paddingbox, scroll, 100, explicit, backgroundrepeat, csscolor, img, png, transforms, fully, parses, every, rule, property, value, just, would, duplicate, work, transformers, leading, improved, minification, these, provide, solid, parsing, foundation, top, implements, support, all, specific, using, crates, created, mozilla, firefox, selectors, cssparser, grade, type, dependency, specifier, documentation, generates, mapping, original, scoped, enables, unused, tree, shaken, ensures, that, there, unintended, clashes, between, different, files, supports, locally, scope, ids, keyframes, after, minifying, 139, 156, 155, 160, 120, details, combines, longhand, into, shorthands, merges, adjacent, default, values, expressions, shortens, colors, minifies, gradients, much, calc, not, only, when, comes, produces, smaller, website, loads, too, crush, 2319, 1449, 9171, lab, 724144, 386777, 148795, display, c65d07, 686, 1009, 1192, oklab, input, last, versions, target, browsers, learn, adds, keep, source, clean, repetition, free, such, nesting, media, queries, high, gamut, spaces, logical, new, selector, converted, lets, modern, today, live, 16ms, 2ms, 544, 81ms, 600ms, 450ms, 300ms, 150ms, 0ms, get, started, native, systems, programming, language, was, built, with, mind, start, designed, make, efficient, memory, limit, ast, passes, million, per, second, single, thread, 100x, than, comparable, tools, light, speed, github, npm, playground, extremely, parser, transformer, bundler,
Text of the page (random words):
lightning css lightning css an extremely fast css parser transformer bundler and minifier playground docs rust docs npm github light speed lightning css is over 100x faster than comparable javascript based tools it can minify over 2 7 million lines of code per second on a single thread lightning css is written in rust a native systems programming language it was built with performance in mind from the start designed to make efficient use of memory and limit ast passes get started build time 0ms 150ms 300ms 450ms 600ms 544 81ms 17 2ms 4 16ms cssnano esbuild lightning css time to minify bootstrap 4 10 000 lines see the readme for more benchmarks live in the future lightning css lets you use modern css features and future syntax today features such as css nesting custom media queries high gamut color spaces logical properties and new selector features are automatically converted to more compatible syntax based on your browser targets lightning css also automatically adds vendor prefixes for your browser targets so you can keep your source code clean and repetition free learn more target browsers last 2 versions input foo color oklab 59 686 0 1009 0 1192 output foo color c65d07 color color display p3 724144 386777 148795 color lab 52 2319 40 1449 59 9171 crush it lightning css is not only fast when it comes to build time it produces smaller output so your website loads faster too the lightning css minifier combines longhand properties into shorthands removes unnecessary vendor prefixes merges compatible adjacent rules removes unnecessary default values reduces calc expressions shortens colors minifies gradients and much more details output size 0 kb 40 kb 80 kb 120 kb 160 kb 155 89 kb 156 57 kb 139 74 kb cssnano esbuild lightning css output size after minifying bootstrap 4 10 000 lines see the readme for more benchmarks css modules lightning css supports css modules which locally scope classes ids keyframes css variables and more this ensures that there are no unintended name clashes between different css files lightning css generates a mapping of the original names to scoped names which can be used from your javascript this also enables unused classes and variables to be tree shaken documentation heading composes typography from typography css color gray egl3uq_heading color gray heading name egl3uq_heading composes type dependency name typography specifier typography css browser grade lightning css is written in rust using the cssparser and selectors crates created by mozilla and used by firefox these provide a solid css parsing foundation on top of which lightning css implements support for all specific css rules and properties lightning css fully parses every css rule property and value just as a browser would this reduces duplicate work for transformers leading to improved performance and minification custom transforms background background image url url url img png color csscolor rgba rgba red 0 green 0 blue 0 alpha 0 position position x length dimension px 20 0 y length dimension px 10 0 repeat backgroundrepeat x repeat y repeat size explicit width lengthpercentage dimension px 50 0 height lengthpercentage dimension px 100 0 attachment scroll origin paddingbox clip borderbox copyright 2024 devon govett and parcel contributors
|