scss
compiler
SCSS + .sass → CSS, dart-sass parity
scss.CompileString and friends: the whole compiler as an ordinary Go package.
LICENSE=BSD-3-ClauseCGO_ENABLED=0A pure-Go Sass/SCSS compiler whose output tracks Dart Sass — no libsass, no Node, no cgo.
$ go get github.com/go-scss/scss@latest
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.
scss
compilerSCSS + .sass → CSS, dart-sass parity
scss.CompileString and friends: the whole compiler as an ordinary Go package.
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.