/godartsass

Go API backed by the native Dart Sass Embedded executable.

Primary LanguageGoMIT LicenseMIT

Tests on Linux, MacOS and Windows Go Report Card codecov GoDoc

This is a Go API backed by the native Dart Sass executable running with sass --embedded.

Note: The v2.x.x of this project targets the v2 of the Dart Sass Embedded protocol with the sass exexutable in releases that can be downloaeded here. For v1 you need to import github.com/bep/godartsass and not github.com/bep/godartsass/v2.

The primary motivation for this project is to provide SCSS support to Hugo. I welcome PRs with bug fixes. I will also consider adding functionality, but please raise an issue discussing it first.

For LibSass bindings in Go, see GoLibSass.