Registry / utility / bep-godartsass-v2

bep-godartsass-v2

JSON →
library2.5.0gogounverified

Provides a Go API for the Dart Sass Embedded protocol, allowing compilation of Sass/SCSS to CSS.

go get github.com/bep/godartsass/v2
INSTALL
IMPORT
SIG · BEP-GODARTSASS-V2
B
bep-godartsass-v2
utilitygov2.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

godartsass
github.com/bep/godartsass/v2

Compiles a Sass string to CSS using Dart Sass.

package main import ( "fmt" "github.com/bep/godartsass/v2" ) func main() { transpiler, err := godartsass.Start() if err != nil { fmt.Println(err) return } defer transpiler.Close() result, err := transpiler.Execute("body { color: red; }") if err != nil { fmt.Println(err) return } fmt.Println(result.CSS) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Meta
1
OpenAI (training)
1
Resources
bep-godartsass-v2 — go get bep-godartsass-v2 · libregistry