Sass.js
Sass.js - API for emscripted libsass to run in the browser
Install / Use
/learn @medialize/Sass.jsREADME
Sass.js
Sass parser in JavaScript. Have a look at the Interactive Playground to play around with compiling SCSS to CSS in your browser.
This is a convenience API for emscripted libsass (at v3.6.2). If you're looking to run Sass in node, you're probably looking for node-sass. Sass.js and node-sass should generate the same results.
A fair warning: minified the worker weighs 4.5MB, gzipped it's still 827KB. If you're on NodeJS, please use the (considerably faster) node-sass instead.
You may also be interested in giving Dart Sass a shot.
Documentation
Who uses Sass.js
Sass.js is used in the following tools:
- grunt-contrib-sassjs
- mobilexag/plugin-sass is a SystemJS plugin
- kevcjones/plugin-scss is a SystemJS plugin
- theefer/plugin-sass is a SystemJS plugin
- stealjs/steal-sass is a StealJS plugin
- nickheiner/sassjs-loader is a Webpack plugin
- lein-sass is a minimum dependency Clojure library designed to compile SASS files using Sass.js running on Nashorn
- qwebs is a "back-end web server"
- Crunch 2
Authors
Credits
- the sass group, especially team libsass
- team emscripten, especially Alon Zakai
- Piotr Paczkowski for providing the emscripten docker image
License
Sass.js is - as libsass and emscripten are - published under the MIT License.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
