Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/medialize/sass.js
Sass.js - API for emscripted libsass to run in the browser
https://github.com/medialize/sass.js
emscripten javascript libsass sass
Last synced: 1 day ago
JSON representation
Sass.js - API for emscripted libsass to run in the browser
- Host: GitHub
- URL: https://github.com/medialize/sass.js
- Owner: medialize
- License: mit
- Created: 2014-01-12T21:03:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T18:54:22.000Z (almost 2 years ago)
- Last Synced: 2024-04-12T07:04:38.221Z (6 months ago)
- Topics: emscripten, javascript, libsass, sass
- Language: JavaScript
- Homepage: http://medialize.github.io/playground.sass.js/
- Size: 50.5 MB
- Stars: 1,193
- Watchers: 33
- Forks: 145
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Sass.js
Sass parser in JavaScript. Have a look at the [Interactive Playground](http://sass.js.org/) to play around with compiling SCSS to CSS in your browser.
This is a convenience API for [emscripted](https://github.com/kripken/emscripten) [libsass](https://github.com/sass/libsass) (at [v3.6.2](https://github.com/sass/libsass/releases/tag/3.6.2)). If you're looking to run Sass in node, you're probably looking for [node-sass](https://github.com/sass/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](https://github.com/andrew/node-sass) instead.
You may also be interested in giving [Dart Sass](https://github.com/sass/dart-sass) a shot.
## Documentation
* [Getting started](./docs/getting-started.md)
* [API documentation](./docs/api.md)
* [Building Sass.js](./docs/build.md)
* [Changelog](./CHANGELOG.md)## Who uses Sass.js
Sass.js is used in the following tools:
* [grunt-contrib-sassjs](https://github.com/amiramw/grunt-contrib-sassjs)
* [mobilexag/plugin-sass](https://github.com/mobilexag/plugin-sass) is a SystemJS plugin
* [kevcjones/plugin-scss](https://github.com/kevcjones/plugin-scss) is a SystemJS plugin
* [theefer/plugin-sass](https://github.com/theefer/plugin-sass) is a SystemJS plugin
* [stealjs/steal-sass](https://github.com/stealjs/steal-sass) is a StealJS plugin
* [nickheiner/sassjs-loader](https://github.com/NickHeiner/sassjs-loader) is a Webpack plugin
* [lein-sass](https://github.com/yogthos/lein-sass) is a minimum dependency Clojure library designed to compile SASS files using Sass.js running on Nashorn
* [qwebs](https://www.npmjs.com/package/qwebs) is a "back-end web server"
* [Crunch 2](http://getcrunch.co/)## Authors
* [Christian Kruse](https://github.com/ckruse) - [@cjk101010](https://twitter.com/cjk101010)
* [Sebastian Golasch](https://github.com/asciidisco) - [@asciidisco](https://twitter.com/asciidisco)
* [Rodney Rehm](http://rodneyrehm.de/en/) - [@rodneyrehm](https://twitter.com/rodneyrehm)## Credits
* the [sass group](https://github.com/sass), especially [team libsass](https://github.com/sass/libsass)
* team [emscripten](https://github.com/kripken/emscripten), especially [Alon Zakai](https://github.com/kripken)
* [Piotr Paczkowski](https://github.com/trzecieu/) for providing the [emscripten docker image](https://hub.docker.com/r/trzeci/emscripten/)## License
Sass.js is - as [libsass](https://github.com/sass/libsass) and [emscripten](https://github.com/kripken/emscripten/) are - published under the [MIT License](http://opensource.org/licenses/mit-license).