less
npmv4.7.0Leaner CSS
Overview
less is an npm package that leaner CSS. It is extremely widely used, with about 10.3M downloads per week and 2 known dependents in the graph. The latest version is 4.7.0, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need leaner CSS and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (10.3M weekly downloads).
- Clear open-source license (Apache-2.0).
Cons
- Large dependency tree (62 direct dependencies) increases install size and audit surface.
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of less.
Dependencies
Dev (53)
Used by
Popular packages that depend on less.
Native-ESM powered web dev build tool
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Alternatives to less
A modern CSS parser and stringifier with TypeScript support
Tool for transforming styles with JS plugins
Robust, expressive, and feature-rich CSS superset
A pure JavaScript implementation of Sass.
Strict TypeScript and Flow types for style based on MDN data
Indent-based CSS syntax for PostCSS
A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
the complete solution for node.js command-line programs
A JavaScript parser
JavaScript parser and stringifier for YAML
Range header field string parser
🌈Easily set your terminal text color & styles.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol
Vite DevTools
A pure JavaScript implementation of Sass.
Lexes ES modules returning their import/export metadata
TypeScript definitions for node
Tool for transforming styles with JS plugins
Media Type Database
A JavaScript parser
JavaScript parser and stringifier for YAML
Modify strings, generate sourcemaps
Lodash modular utilities.
Version history
| Version | Published | License |
|---|---|---|
| 4.7.0latest | 19 hours ago | Apache-2.0 |
| 4.6.7 | 26 days ago | Apache-2.0 |
| 4.6.6 | 1 month ago | Apache-2.0 |
| 4.6.5 | 1 month ago | Apache-2.0 |
| 4.6.4 | 4 months ago | Apache-2.0 |
| 4.6.3 | 4 months ago | Apache-2.0 |
| 4.6.3-beta.0 | 4 months ago | Apache-2.0 |
| 4.6.2 | 4 months ago | Apache-2.0 |
| 4.6.1 | 4 months ago | Apache-2.0 |
| 4.6.0 | 4 months ago | Apache-2.0 |
| 4.5.1 | 7 months ago | Apache-2.0 |
| 4.4.2 | 9 months ago | Apache-2.0 |
| 4.4.1 | 11 months ago | Apache-2.0 |
| 4.4.0 | 1 year ago | Apache-2.0 |
| 4.3.0 | 1 year ago | Apache-2.0 |
| 4.2.2 | 1 year ago | Apache-2.0 |
| 4.2.1 | 1 year ago | Apache-2.0 |
| 4.2.0 | 2 years ago | Apache-2.0 |
| 4.1.3 | 4 years ago | Apache-2.0 |
| 4.1.2 | 4 years ago | Apache-2.0 |
Frequently asked questions
How do I install less?
Run `npm install less` to add less to your npm project.
What license is less released under?
less is distributed under the Apache-2.0 license.
How popular is less?
less has approximately 10,263,336 downloads per week and 2 known dependent packages.