OSS TanbouSign in with GitHub

compile SCSS with the reference Sass implementation through a CLI or JavaScript API

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
4,227
Primary language
Dart
License
MIT
Repository last updated
Sep 30, 2026
On this page

Overview

Dart Sass is the reference implementation of Sass. It compiles SCSS/Sass into CSS and is distributed as standalone archives and the npm sass package with both CLI and JavaScript APIs.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Compile SCSS/Sass to CSS from the CLI or npm package

The sass CLI compiles source stylesheets to CSS, and projects can install the compiler with npm install --save-dev sass.

Sources: [1]

Run Sass from build tooling with compile and compileAsync

The modern JavaScript API exposes compile() and compileAsync() for bundlers and custom build pipelines.

Sources: [1]

Use first-class module APIs introduced in the 1.105 line

Version 1.105.0 added meta.load(), meta.get-module(), and meta.css() to expand module-oriented metaprogramming.

Sources: [2]

Best fit

Fits codebases that need the current official compiler for existing Sass assets and design systems

It is the standard choice when a frontend project wants Sass syntax, specification tracking, and both CLI and programmatic compilation.

Sources: [1]

Before adoption

Avoid starting new integrations on the legacy JavaScript API

The Node Sass-compatible render() and renderSync() API is deprecated and documented for removal in Dart Sass 2.0.0.

Sources: [1]

Browser execution does not have filesystem compilation APIs

compile() and compileAsync() are unavailable in browsers; browser use relies on string APIs and custom importers when external content is needed.

Sources: [1]

Official sources

  1. [1]Dart Sass 1.105.1 README(2026-10-05)
  2. [2]Dart Sass 1.105.1 changelog(2026-10-05)
  3. [3]Dart Sass 1.105.1 release(2026-10-05)
  4. [4]Dart Sass MIT license(2026-10-05)
Supplemental curator note

Dart Sass is the canonical Sass implementation. New JavaScript integrations should use the modern compile/compileAsync APIs rather than adopting the deprecated legacy render/renderSync API.

Try it in 3 steps

  1. 1

    Install Dart Sass 1.105.1 in an isolated project

    Pin the reviewed release in a temporary project without changing an existing codebase.

    demo=$(mktemp -d "${TMPDIR:-/tmp}/dart-sass.XXXXXX") && cd "$demo" && npm init -y >/dev/null && npm install --save-exact --save-dev sass@1.105.1
  2. 2

    Create SCSS with a variable and nested selector

    Create a minimal SCSS input that exercises a Sass variable and selector nesting.

    printf "%s\n" '$accent: #663399;' '.card {' ' color: $accent;' ' &:hover { color: white; }' '}' > input.scss
  3. 3

    Compile it to CSS with the sass CLI

    Generate CSS with version 1.105.1 and confirm the nested selector was expanded into normal CSS.

    npx sass input.scss output.css && grep -q ".card:hover" output.css
Check the official README

Growth

Growth trends · Last 30 days

4,227 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
21
Open PRs
7

Development activity is still being collected.

Built with

Categories and tags

Categories

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • sass
  • css-preprocessor
  • dart
  • dart-sass
Stars
4,227
Forks
380
Watchers
71
Open issues
60
Contributors
69
Owner type
Organization
Primary language
Dart
License
MIT
Repository last updated
Sep 30, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?