Repository
Current version released
4 years ago
Versions
deno-sass
BREAKING CHANGE: Deno Sass now uses sass-rs crate that provides bindings to the official libsass lib. No more WASM.
The Deno SASS library.
Example
import { compile } from "mod.ts";
compile("a { color: #000; }", {
output_style: "nested",
precision: 5,
indented_syntax: false,
include_paths: []
}).result;
Building from source
Prerequisites
Building
$ cargo build
Example
$ deno run --unstable -A examples/compile.ts
Contribution
Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt
and commit messages are done following Conventional Commits spec.
Licence
Copyright 2020, Divy Srivastava. All rights reserved. MIT license.