</>PackageGraphPackageGraph

sass

npmv1.104.0TypeScript

A pure JavaScript implementation of Sass.

Safe to adopt

Yes — sass scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 6 days ago. 50 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 6 days ago. 50 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 4 transitive packages, about 6.6 MB installed (at least — some of the tree is still being crawled).

  • ASupply chain: grade A, Excellent.

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

  • ALicense: grade A, Excellent.

    MIT — 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 sass to a project.

3
Direct dependencies

Runtime packages this one declares itself.

4
Total installed

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

6.6 MB
Install size

Unpacked size of this package plus its entire runtime tree.

2
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

BSD-3-ClauseMIT

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

Compatibility

Node.js
node >=20.19.0
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the sass README.

const sass = require('sass');

const result = sass.compile(scssFilename);

// OR

// Note that `compileAsync()` is substantially slower than `compile()`.
const result = await sass.compileAsync(scssFilename);

sass vs the alternatives

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

PackageWeekly downloadsDependentsLicenseLast release
sassthis page04MIT6 days ago
node-sassdeprecated888.4K0MIT1 day ago
less02Apache-2.01 day ago
postcss249.3M7MIT1 day ago
csstype142.8M2MIT1 day ago
react-style-singleton59.1M2MIT1 day ago

Dependencies

Declared by sass v1.104.0. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on sass.

Relationship graph

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

Frequently installed together

Release history

50 releases in the last two years, typically about 5 days apart.

Recent versions of sass
VersionPublishedSizeLicense
1.104.0latest6 days ago5.7 MBMIT
1.103.120 days ago5.7 MBMIT
1.103.021 days ago5.7 MBMIT
1.102.01 month ago5.7 MBMIT
1.101.71 month ago5.7 MBMIT
1.101.61 month ago5.7 MBMIT
1.101.51 month ago5.7 MBMIT
1.101.41 month ago5.7 MBMIT
1.101.31 month ago5.7 MBMIT
1.101.03 months ago5.7 MBMIT
1.100.03 months ago5.7 MBMIT
1.99.05 months ago5.7 MBMIT
1.98.06 months ago5.6 MBMIT
1.97.37 months ago5.6 MBMIT
1.97.28 months ago5.6 MBMIT

Overview

sass is an npm package that a pure JavaScript implementation of Sass. It has 4 known dependents in the graph. The latest version is 1.104.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a pure JavaScript implementation of Sass and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use sass?

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

How do I install sass?

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

How many dependencies does sass have?

sass declares 4 direct dependencies and pulls in 4 packages in total once its runtime tree is resolved totalling about 6.6 MB on disk.

What license is sass released under?

sass is distributed under the MIT license. Its dependency tree also includes: BSD-3-Clause, MIT.

How popular is sass?

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

Is sass still maintained?

The most recent release of sass (v1.104.0) was published 6 days ago.

Does sass run install scripts?

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