deno_sass logo

deno_sass

High quality bindings to the sass_rs crate for Deno.

stars issues deno version vr scripts

🌀 The library is not yet available on Windows. Expect breaking changes.

Example

import { compile } from "https://x.nest.land/sass@0.2.0/mod.ts";

compile("a { color: #000; }", {
  output_style: "nested",
  precision: 5,
  indented_syntax: false,
  include_paths: []
}).result;

Join Discord

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.

deno_sass is licensed under the MIT license. Please see the LICENSE file.