MCPcopy Index your code
hub / github.com/bep/godartsass

github.com/bep/godartsass @v2.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.5.0 ↗ · + Follow
631 symbols 894 edges 8 files 110 documented · 17% 12 cross-repo links updated 4mo agov2.5.0 · 2025-03-29★ 612 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

```

Extension points exported contracts — how you extend this code

ImportResolver (Interface)
ImportResolver allows custom import resolution. CanonicalizeURL should create a canonical version of the given URL if i [1 …
options.go

Core symbols most depended-on inside this repo

Execute
called by 13
transpiler.go
Error
called by 6
transpiler.go
hasScheme
called by 6
transpiler.go
ParseSourceSyntax
called by 6
options.go
Close
called by 5
conn.go
ParseOutputStyle
called by 4
options.go
sendInboundMessage
called by 3
transpiler.go
done
called by 3
transpiler.go

Shape

Method 478
Struct 100
Function 28
Interface 14
TypeAlias 11

Languages

Go100%

Modules by API surface

internal/embeddedsass/embedded_sass.pb.go565 symbols
transpiler.go18 symbols
transpiler_test.go17 symbols
options.go16 symbols
conn.go8 symbols
internal/godartsasstesting/settings.go4 symbols
options_test.go2 symbols
misc_test.go1 symbols

For agents

$ claude mcp add godartsass \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact