qmetrics.net

Less.js

Dynamic CSS extension language and compiler

Less.js screenshot

Less adds variables, mixins, nesting, and functions to CSS, compiled by Less.js on Node.js or in supporting browsers.

Overview

Less (Leaner Style Sheets) is a backwards-compatible language extension for CSS. Syntax closely resembles CSS while adding variables, parametric mixins, nested rules, operations, built-in functions, maps, and import composition so authors can organize styles more compactly than with plain CSS alone.

Less.js is the JavaScript compiler that turns Less sources into CSS. It runs on the server with Node.js or Rhino, or in the browser on modern clients, as described in the official documentation. Features include parent-selector ampersand forms, bubbling nested at-rules such as media queries, escaping for arbitrary values, and controlled math behavior including calc() compatibility rules in recent major versions.

The tracked repository is the Less.js monorepo; language reference, configuration, and usage guides live on the project documentation site. Third-party build tools and editor integrations are listed separately for teams adopting Less in larger front-end pipelines.

Key features

  • CSS variables and mixins
  • Nested selectors and at-rules
  • Color and math functions
  • Map-style mixin namespaces
  • Importable partial stylesheets
  • Server-side Node compilation
  • In-browser compilation option
  • Lazy-loaded variables and mixins

Use cases

  • Maintainable stylesheet authoring
  • Shared theme variables across sites
  • Build-time CSS generation
  • Legacy projects using Less syntax
  • Component-scoped style organization

Tags

Similar software

Hugo

Go-based static site generator with flexible templating

Hugo is a static site generator written in Go. It turns content and templates into deployable HTML sites with asset pipelines for CSS, JavaScript, Sass, and images.

★ 90.6k⟳ todayApache-2.0
Build & DeploymentDesktop/CLI app

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

★ 122.3k⟳ yesterdayMIT
AI Assisted CodingDesktop/CLI app

nvm

POSIX shell version manager for Node.js

nvm installs and switches between Node.js versions from the command line on POSIX shells including bash and zsh.

★ 96.3k⟳ 2 days agoMIT
Build & DeploymentDesktop/CLI app

uv

Fast Python package and project manager

uv is a Rust-based tool that manages Python dependencies, virtual environments, scripts, and interpreters. It offers a pip-compatible interface and universal lockfiles for projects.

★ 92.7k⟳ 2 days agoApache-2.0
Build & DeploymentDesktop/CLI app

Vite

Frontend build tool for modern web projects

Vite is a build tool for modern web projects, combining a development server with an optimized production build. It targets a faster, leaner local development workflow.

★ 84.2k⟳ yesterdayMIT
Build & DeploymentDesktop/CLI app

act

Local runner for GitHub Actions workflows

A command-line tool that executes GitHub Actions workflows on your machine using Docker. It mirrors GitHub’s environment for faster feedback while editing workflow files.

★ 72.8k⟳ 12 days agoMIT
Build & DeploymentDesktop/CLI app