Skip to content

medialize/sass.js

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time

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:

Authors

Credits

License

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