# medialize/sass.js

Sass.js - API for emscripted libsass to run in the browser

Repository: https://github.com/medialize/sass.js
Canonical: https://ross.abutalabs.com/products/sassjs
Homepage: http://medialize.github.io/playground.sass.js/
Language: JavaScript
License: MIT
License Family: permissive
Topics: sass, libsass, javascript, emscripten
Last push: 2022-12-30T18:54:22+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4616, "days_push": 1342, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1191, forks 132 (observed 2026-08-28T04:03:56.114439+00:00)

## What it is
Sass.js is a JavaScript convenience API around libsass compiled to JavaScript with Emscripten, allowing SCSS/Sass compilation entirely in the browser via a web worker. It is intended for browser-based Sass compilation, while Node users are directed to node-sass or Dart Sass.

## Use cases
- compile scss to css in the browser
- run sass compiler client-side without a server
- build an interactive sass playground in a web page
- compile sass in a web worker
- live-preview scss editing in a browser tool
- use libsass from javascript

## When to choose
- you need to compile SCSS/Sass entirely client-side in the browser
- you're building an online Sass playground or live editor
- you can't run a server-side Sass build step

## When to avoid
- you're compiling Sass in Node.js — use node-sass or Dart Sass instead
- you need the latest Sass features — libsass is deprecated in favor of Dart Sass
- payload size matters — the worker is ~4.5MB minified (~827KB gzipped)

## Facets
- artifact type: library
- maturity: maintenance
- function: compiler, templating
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: sass, scss, libsass, emscripten, css, web-worker, in-browser-compilation, nodejs, web-server

## Member repositories
- medialize/sass.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.114439+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:42.478859+00:00, confidence not recorded.
  - readme: https://github.com/medialize/sass.js (fetched 2026-08-28T04:03:56.114439+00:00, sha 559d4eb8e309)
  - homepage: http://medialize.github.io/playground.sass.js/ (fetched 2026-08-29T12:29:51.126085+00:00, sha 1418be0a4351)
  - registry_npm: https://registry.npmjs.org/sass.js (fetched 2026-08-29T12:29:51.134820+00:00, sha ca920b60999d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
