Go wrapper for libsass, providing a Sass 3.5 compiler for Go applications.
go-libsass is a Go wrapper for the libsass C/C++ library that enables Sass 3.5 compilation within Go applications. It allows developers to process Sass stylesheets directly from Go code, providing the only Sass-compliant Go library available at the time. The project solves the problem of integrating modern CSS preprocessing into Go-based web development workflows.
Go developers who need to compile Sass stylesheets within their applications, particularly those building web tools, static site generators, or build pipelines in Go.
Developers choose go-libsass because it was the only Sass 3.5 compliant library available for Go, providing direct access to libsass functionality with a clean Go API. It offers accurate Sass compilation while maintaining compatibility with Go's build system.
Go wrapper for libsass, the only Sass 3.5 compiler for Go
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports complete Sass 3.5 syntax and features, ensuring accurate compilation by directly wrapping the libsass C/C++ library as stated in the GitHub description.
Provides a clean Go interface for compiling Sass within Go applications, with example code in the README demonstrating easy integration.
Leverages libsass for reliable Sass processing, matching the behavior of the original C/C++ implementation for consistency.
Enables compilation across different platforms using gcc toolchains, as noted in the features and FAQ for cross-compilation support.
Explicitly marked as deprecated with a recommendation to switch to godartsass, indicating no future updates, bug fixes, or support.
Compiles C/C++ libsass on every build, leading to slow speeds; the README's FAQ acknowledges this and suggests workarounds like installing the package or using tags.
Requires gcc for target platforms, adding setup complexity and portability issues, as detailed in the FAQ for cross-compilation.
Relies on libsass, which is no longer actively developed by Sass, limiting access to modern features and potentially causing compatibility problems.