Overview of Sass.js
masterSass.js is a Sass parser implemented in JavaScript. It provides a convenience API for an emscripted version of libsass (v3.6.2). It is primarily intended for environments where running a native binary is not feasible, such as the browser.
Important Considerations:
- Performance: If you are running in a Node.js environment, use
node-sassinstead, as it is considerably faster. - Bundle Size: The minified worker is approximately 4.5MB (827KB gzipped).