Sass.js - API for emscripted libsass to run in the browser
JavaScript CSS C++ HTML Shell
Permalink
Failed to load latest commit information.
bin chore(benchmark): fixing file read, closes #41 Jan 24, 2016
css feature(node): adding sass.node.js for convenient compilation - #72 Dec 11, 2016
dist chore(dist): updating distributables to version 0.10.4 Mar 30, 2017
docs feature(node): adding sass.node.js for convenient compilation - #72 Dec 11, 2016
grunt-tasks feature(node): adding sass.node.js for convenient compilation - #72 Dec 11, 2016
libsass chore(libsass): upgrading to libsass 3.4.4 Mar 30, 2017
maps feature(api): adding `Sass.lazyFiles()` and `Sass.preloadFiles`() Mar 22, 2015
scss adding benchmark against node-sass Jan 16, 2014
src fix(sass.util): adapting to new UTF8 string methods Dec 28, 2016
test feature(node): adding sass.node.js for convenient compilation - #72 Dec 11, 2016
.editorconfig adding linting and testing via grunt Jan 13, 2014
.gitignore adding utility to build libsass.js from sass/libsass using emscripten… Dec 23, 2014
.jshintrc adding linting and testing via grunt Jan 13, 2014
CHANGELOG.md chore(build): bumping to version 0.10.4 Mar 30, 2017
CONTRIBUTING.md feature(github): updating repository links Apr 11, 2015
Gruntfile.js feature(node): adding sass.node.js for convenient compilation - #72 Dec 11, 2016
LICENSE feature(project): adding license file Apr 27, 2015
README.md chore(build): bumping to version 0.10.4 Mar 30, 2017
bower.json chore(build): bumping to version 0.9.10 Apr 24, 2016
package.json chore(build): bumping to version 0.10.4 Mar 30, 2017
sass.source.html refactor(importer): expose utility to resolve @import paths - #61 Aug 14, 2016
sass.sync.html feature(readme): capitalized "Sass.js" May 18, 2015
sass.worker.html feature(readme): capitalized "Sass.js" May 18, 2015

README.md

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.4.4). 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 3.2MB, gzipped it's still 670KB. 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:

Authors

Credits

License

Sass.js is - as libsass and emscripten are - published under the MIT License.