Sass

The reference Dart implementation of Sass, the mature CSS preprocessor that compiles SCSS and indented syntax to standards-compliant CSS.

Tool
npm
v1.105.0
4,225 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
91 /100 Excellent
Development Activity 96
Maintenance 96
Community 72
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
88 /100 Excellent
Architecture 92
Code Quality 90
Innovation 88
Learning Curve 80

Sass (Syntactically Awesome Style Sheets) is the most widely used CSS preprocessor, and this package is its canonical reference implementation written in Dart and distributed on npm as JavaScript. It compiles the SCSS and indented Sass syntaxes down to plain CSS, adding variables, nesting, mixins, functions, partials, and a module system on top of ordinary stylesheets.

Available as both a command-line sass executable and an embeddable compilation API (compile, compileString, and their async variants), it powers the styling pipeline of countless build tools, design systems, and frameworks. With more than 28 million weekly npm downloads it is effectively the industry standard for authoring maintainable, DRY stylesheets at scale.

What You Get

  • A sass command-line executable that compiles files and whole directories, with --watch mode and source-map generation
  • An embeddable JavaScript/Dart API (compile, compileString, compileAsync, compileStringAsync) for programmatic compilation inside build pipelines
  • Full support for the modern module system (@use, @forward) alongside the SCSS and indented Sass syntaxes
  • A rich built-in function library for color, math, string, list, and map manipulation
  • Custom importers and custom functions so host applications can hook their own resolution and logic into compilation

Common Use Cases

  • Authoring maintainable design systems with shared variables, mixins, and reusable partials
  • Integrating with bundlers such as Webpack (sass-loader), Vite, and Parcel to compile styles at build time
  • Compiling stylesheets on the command line during local development with live --watch rebuilds
  • Generating production CSS with compressed output and accurate source maps for debugging

Under The Hood

Architecture — Dart Sass is structured as a classic compiler pipeline under lib/src: source text is tokenized and parsed (lib/src/parse) into an abstract syntax tree (lib/src/ast), evaluated by a tree-walking visitor (lib/src/visitor/evaluate.dart) that resolves variables, mixins, modules, and the @extend machinery (lib/src/extend), and finally serialized to CSS (lib/src/visitor/serialize.dart). The public compile/compileString entry points in lib/sass.dart delegate to lib/src/compile.dart, importers are pluggable via lib/src/importer, and cross-cutting concerns like value types, functions, and logging live in dedicated lib/src/value, lib/src/functions, and lib/src/logger directories.

Tech Stack — The engine is written in Dart (SDK >=3.6.0) and compiled to JavaScript for npm distribution. Core dependencies include args and cli_repl for the CLI, source_maps/source_span for source maps and diagnostics, string_scanner and charcode for lexing, protobuf for the embedded-compiler protocol, and js/node_interop for the JS bridge. A distinctive detail is that synchronous files such as compile.dart are code-generated from their async counterparts via tool/grind/synchronize.dart, keeping the sync and async APIs in lockstep.

Code Quality — The codebase is mature and disciplined: roughly 59 Dart test files under test/ cover the Dart API, CLI, compressed output, deprecations, doc comments, and the embedded protocol, and generated files carry checksums to guard against manual edits drifting from their sources. Strong static analysis (analysis_options.yaml, lints), consistent MIT license headers, and clear module boundaries reflect a project maintained to reference-implementation standards.

API Design — The public surface is deliberately small and ergonomic: four compile functions (compile, compileString, compileAsync, compileStringAsync) cover file and string input in sync and async forms, returning a structured CompileResult. Custom importers and custom functions offer well-typed extension points, and the CLI mirrors the library so the same engine is reachable from a terminal or a build script with minimal boilerplate.

Used by 108 apps in this directory

Go
73%
GPL 3.0

1Panel

Devops · Hosting Control Panel · Monitoring

37,044

The only open-source VPS control panel with native AI agent runtime — deploy websites, Docker stacks, and local LLMs from one web interface.

View details
91
Repo Health
76
Technical
67
Dependency
Built with
Go 73%
Vue 27%
Updated 4 days ago
TypeScript
95%
MIT

Actual

Invoicing Finance

29,186

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
73
Dependency
Built with
TypeScript 95%
Updated 4 days ago
Vue
43%
MIT

Alexandrie

Collaboration · Knowledge Management · Note Taking

2,777

The open-source, offline-first Notion, Obsidian & Confluence alternative with multi-tenant teams, OIDC/SSO, and one-command Docker deployment.

View details
86
Repo Health
73
Technical
74
Dependency
Built with
Vue 43%
TypeScript 41%
Go 13%
Updated 1 weeks ago
TypeScript
96%
Other

Amplication

AI Code Assistants · Automation · Developer Tools

16,015

Create production-ready backend services with your organization's standards baked in — generating NestJS, Prisma, and GraphQL code that you own and control.

View details
58
Repo Health
84
Technical
60
Dependency
Built with
TypeScript 96%
Updated 3 months ago
TypeScript
89%
Other

anytype-ts

Collaboration · Knowledge Management · Note Taking

8,861

A local-first, end-to-end encrypted knowledge OS that lets you build notes, tasks, wikis, and entire apps — with your data stored offline and synced peer-to-peer.

View details
88
Repo Health
78
Technical
67
Dependency
Built with
TypeScript 89%
Updated 1 weeks ago
Go
61%
Apache 2.0

Apache Answer

Community

15,683

Open-source Q&A platform for communities, help centers, and knowledge bases with AI assistant and plugin extensibility

View details
90
Repo Health
78
Technical
68
Dependency
Built with
Go 61%
TypeScript 36%
Updated 1 weeks ago
TypeScript
68%
Apache 2.0

Appsmith

Automation · Developer Tools · No Code Platforms

40,959

Open-source low-code platform to build admin panels, dashboards, and internal tools connected to any database or API.

View details
93
Repo Health
79
Technical
66
Dependency
Built with
TypeScript 68%
Java 21%
Updated 6 days ago
Python
59%
Apache 2.0

argilla

AI Development · Data Engineering

5,125

Collaborate on high-quality AI training data with a self-hosted annotation platform built for LLMs, NLP, and multimodal models.

View details
65
Repo Health
81
Technical
61
Dependency
Built with
Python 59%
Jupyter Notebook 21%
Updated 1 weeks ago
Go
85%
Apache 2.0

Argo Workflows

Data Engineering · Devops

17,006

The most popular Kubernetes-native workflow engine for orchestrating containerized DAGs, ML pipelines, CI/CD, and parallel batch jobs at scale.

View details
96
Repo Health
90
Technical
68
Dependency
Built with
Go 85%
TypeScript 11%
Updated 4 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers