</>PackageGraphPackageGraph

less

npmv4.9.1

Leaner CSS

Safe to adopt

Yes — less scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 7 days ago. 25 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 7 days ago. 25 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 2 transitive packages, about 3.1 MB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 5 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    Apache-2.0 — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding less to a project.

2
Direct dependencies

Runtime packages this one declares itself.

2
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

3.1 MB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing less, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=18
Module format
ESM + CommonJS
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the less README.

@primary: #4a90d9;

.button {
  color: @primary;
  &:hover {
    color: darken(@primary, 10%);
  }
}

less vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
lessthis page02Apache-2.07 days ago
@adobe/css-tools02MIT1 day ago
postcss249.3M7MIT1 day ago
node-sassdeprecated888.4K0MIT1 day ago
sass04MIT1 day ago
stylus01MIT1 day ago

Dependencies

Declared by less v4.9.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (52)

@less/test-data workspace:*@less/test-import-module workspace:*@rollup/plugin-commonjs ^17.0.0@rollup/plugin-json ^4.1.0@rollup/plugin-node-resolve ^11.0.0@types/node ^18@typescript-eslint/eslint-plugin ^4.28.0@typescript-eslint/parser ^4.28.0benny ^3.6.12bootstrap-less-port 0.3.0c8 ^10.1.3chai ^4.2.0chalk ^4.1.2cosmiconfig ~9.0.0cross-env ^7.0.3eslint ^7.29.0fs-extra ^8.1.0git-rev ^0.2.1glob ~11.0.3globby ^10.0.1grunt ^1.5.0grunt-cli ^1.3.2grunt-contrib-clean ^1.0.0grunt-contrib-connect ^1.0.2grunt-eslint ^23.0.0grunt-saucelabs ^9.0.1grunt-shell ^1.3.0html-template-tag ^3.2.0jest-diff ~30.1.2jit-grunt ^0.10.0less-plugin-autoprefix ^1.5.1less-plugin-clean-css ^1.6.0minimist ^1.2.0mocha ^6.2.1mocha-teamcity-reporter ^3.0.0npm-run-all ^4.1.5path-browserify ^1.0.1performance-now ^0.2.0phin ^2.2.3playwright 1.50.1promise ^7.1.1read-glob ^3.0.0resolve ^1.17.0rollup ^2.52.2rollup-plugin-terser ^5.1.1shx ^0.3.2time-grunt ^1.3.0typescript ^5.7.0uikit 2.27.4url ^0.11.4webpack ^5.64.6webpack-cli ^5.1.4

Used by

Popular packages that depend on less.

Relationship graph

Dependencies (left) and dependents (right) of less.

Frequently installed together

Release history

24 releases in the last two years, typically about 2 days apart.

Recent versions of less
VersionPublishedSizeLicense
5.0.0-alpha.45 days ago2.8 MBApache-2.0
5.0.0-alpha.36 days ago2.8 MBApache-2.0
4.9.1latest7 days ago3.1 MBApache-2.0
5.0.0-alpha.27 days ago47 KBApache-2.0
5.0.0-alpha.127 days ago47 KBApache-2.0
4.9.027 days ago3.1 MBApache-2.0
4.8.11 month ago3.0 MBApache-2.0
4.8.01 month ago3.0 MBApache-2.0
4.7.01 month ago3.0 MBApache-2.0
4.6.72 months ago3.0 MBApache-2.0
4.6.62 months ago3.0 MBApache-2.0
4.6.52 months ago3.0 MBApache-2.0
4.6.46 months ago2.4 MBApache-2.0
4.6.36 months ago2.4 MBApache-2.0
4.6.3-beta.06 months ago2.4 MBApache-2.0

Overview

less is an npm package that leaner CSS. It has 2 known dependents in the graph. The latest version is 4.9.1, released under the Apache-2.0 license.

Who should use it

Teams working in the npm ecosystem who need leaner CSS and value a focused 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

  • Clear open-source license (Apache-2.0).

Cons

  • Large dependency tree (61 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.

Maintainers

Keywords

Frequently asked questions

Should I use less?

Yes — less scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 7 days ago. 25 releases in the last 2 years.

How do I install less?

Run `npm install less` to add less to your npm project.

How many dependencies does less have?

less declares 61 direct dependencies and pulls in 2 packages in total once its runtime tree is resolved totalling about 3.1 MB on disk.

What license is less released under?

less is distributed under the Apache-2.0 license.

How popular is less?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on less.

Is less still maintained?

The most recent release of less (v4.9.1) was published 7 days ago.

Does less run install scripts?

No. less does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.