Embedded Sass Host for Ruby

build
gem

This is a Ruby library that implements the host side of the Embedded Sass protocol.

It exposes a Ruby API for Sass that’s backed by a native Dart Sass executable.

Install

gem install sass-embedded

Usage

require 'sass'

Sass.compile('style.scss')
Sass.compile_string('h1 { font-size: 40px; }')

Disclaimer: this is not an official Google product.