sass
npmv1.104.0TypeScriptA 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| sassthis page | 0 | 4 | MIT | 6 days ago |
| node-sassdeprecated | 888.4K | 0 | MIT | 1 day ago |
| less | 0 | 2 | Apache-2.0 | 1 day ago |
| postcss | 249.3M | 7 | MIT | 1 day ago |
| csstype | 142.8M | 2 | MIT | 1 day ago |
| react-style-singleton | 59.1M | 2 | MIT | 1 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.
Native-ESM powered web dev build tool
The React Framework
@vue/compiler-sfc
A Metro config for running React Native projects with the Metro bundler
Relationship graph
Dependencies (left) and dependents (right) of sass.
Frequently installed together
Tool for transforming styles with JS plugins
The Expo SDK
A library for obtaining browser versions with their maximum supported Baseline feature set and Widely Available status.
A CSS parser, transformer, and minifier written in Rust
Remap sequential sourcemaps through transformations to point at the original source code
Trace the original position through a source map
Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
An extremely fast JavaScript and CSS bundler and minifier.
A smaller version of caniuse-db, with only the essentials!
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
A high-level API to automate web browsers
Release history
50 releases in the last two years, typically about 5 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.104.0latest | 6 days ago | 5.7 MB | MIT |
| 1.103.1 | 20 days ago | 5.7 MB | MIT |
| 1.103.0 | 21 days ago | 5.7 MB | MIT |
| 1.102.0 | 1 month ago | 5.7 MB | MIT |
| 1.101.7 | 1 month ago | 5.7 MB | MIT |
| 1.101.6 | 1 month ago | 5.7 MB | MIT |
| 1.101.5 | 1 month ago | 5.7 MB | MIT |
| 1.101.4 | 1 month ago | 5.7 MB | MIT |
| 1.101.3 | 1 month ago | 5.7 MB | MIT |
| 1.101.0 | 3 months ago | 5.7 MB | MIT |
| 1.100.0 | 3 months ago | 5.7 MB | MIT |
| 1.99.0 | 5 months ago | 5.7 MB | MIT |
| 1.98.0 | 6 months ago | 5.6 MB | MIT |
| 1.97.3 | 7 months ago | 5.6 MB | MIT |
| 1.97.2 | 8 months ago | 5.6 MB | MIT |
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.
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.