Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import * as sassEmbedded from 'sass-embedded';
// Spawns the embedded compiler, returns an object with the Node Sass API.
const sass = sassEmbedded.start();
sass.renderSync({data: 'a {b: c}'});
// Shuts down the embedded compiler, future calls to render et al now throw.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment