go-scss

A pure-Go Sass/SCSS compiler whose output tracks Dart Sass โ€” no libsass, no Node, no cgo.

CGO-freeSCSS + indented .sassexpanded + compressed2โ€“3ร— faster than dart-sassBSD-3-Clause
GitHub Go reference

Compiles both the SCSS and the indented .sass syntaxes, in the expanded and compressed output styles, matching dart-sass byte-for-byte on the common real-world surface. Correctness is defined by the reference implementation, not by our own expectations.

It is also 2โ€“3ร— faster than dart-sass 1.102 and libsass on the cross-implementation corpus โ€” measured, with the numbers in BENCHMARKS.md rather than in a headline.

Repositories

scss compiler

SCSS + .sass โ†’ CSS, dart-sass parity

scss.CompileString and friends: the whole compiler as an ordinary Go package.

CI Go reference BSD-3-Clause

One static Go dependency for static-site generators, asset pipelines and language bindings โ€” the point being that adding Sass support no longer drags in a Node or C toolchain.