qmetrics.net

cssnano

Modular PostCSS CSS minifier and optimizer

cssnano screenshot

cssnano is a modular CSS compression tool on the PostCSS stack. It shrinks stylesheets for production while aiming to keep rendering the same as the original CSS.

Overview

cssnano runs a pipeline of focused optimisations on CSS rather than only trimming whitespace. Presets let you choose how aggressive the transforms are: the default preset applies safe changes, while an advanced preset enables stricter tricks only when your site meets the documented requirements.

Documented optimisation types include compressing colors, removing comments, discarding overridden at-rules, normalising unicode-range descriptors, and simplifying gradient parameters. Where relevant, transforms can respect Browserslist so output differs based on the browsers you support.

cssnano can be wired into bundlers and build tools through published installation guides and exposes many individual optimisation plugins. Under semantic versioning, a minified stylesheet should render like the unminified source; cssnano should neither break working CSS nor repair broken CSS, which matters when only production builds are minified.

An online playground lets you try cssnano without a local setup. The implementation is modular plugins composed through PostCSS's plugin architecture.

Key features

  • PostCSS plugin architecture
  • Default and advanced presets
  • Browserslist-aware transforms
  • Color and comment compression
  • Duplicate rule cleanup
  • Gradient parameter simplification
  • Unicode-range normalization
  • Online try-it interface

Use cases

  • Production CSS bundle size reduction
  • Pipeline integration via PostCSS
  • Safe default minification preset
  • Targeted aggressive preset when eligible
  • Preserve visual output after minify

Tags

Similar software

husky

Lightweight native Git hooks for Node projects

A small npm package that wires Git hooks via core.hooksPath to run checks on commit and push, including lint, tests, and message rules.

  • Uses Git core.hooksPath
  • All client-side Git hooks supported
  • macOS, Linux, and Windows support
JavaScriptLinux, macOS, WindowsDetails →
★ 35.4k⟳ 8 months agoMIT

gulp.js

Streaming JavaScript toolkit for development workflow automation

Gulp automates repetitive development tasks by chaining streaming file transformations. It offers a small API, thousands of plugins, and runs with Node.js and other platforms used in major IDEs.

  • Streaming in-memory file pipelines
  • Minimal task-oriented JavaScript API
  • Large curated plugin ecosystem
JavaScriptCLIDetails →
★ 32.9k⟳ 9 months agoMIT

electron-builder

Packaging and distribution tool for Electron applications

electron-builder produces macOS, Windows, and Linux installers and archives from Electron projects, with built-in auto-update hooks and publishing helpers.

  • Multi-platform installers
  • electron-updater integration
  • GitHub and S3 publishing
TypeScriptLinux, macOS, Windows, DockerDetails →
★ 14.7k⟳ todayMIT

browserify

Node-style CommonJS bundler for browser JavaScript

Browserify walks require() calls in your JavaScript and packs dependencies into one browser file. It supports npm modules, shims for Node core libs, and a CLI plus programmatic API.

  • Recursive require() dependency graph
  • npm module resolution in bundles
  • Node core library shims
JavaScriptCLIDetails →
★ 14.7k⟳ 1 month agoMIT

Jib

Daemonless container image builder for Java applications

Jib builds optimized Docker and OCI images for Java apps without a Docker daemon. It ships as Maven and Gradle plugins, a core library, and a CLI.

  • Maven and Gradle plugins
  • Layered dependency and class splits
  • No Docker daemon required
JavaCLIDetails →
★ 14.5k⟳ todayApache-2.0

Rolldown

Rust JavaScript bundler with Rollup-compatible API

Bundles JavaScript and TypeScript using a Rust core, exposes Rollup-like APIs and plugins, and targets eventual use as Vite's bundler.

  • Rollup-compatible API surface
  • Rollup-style plugin interface
  • Rust implementation core
RustDetails →
★ 14.2k⟳ todayMIT