| # postcss-sass |
| |
| [](https://travis-ci.org/AleshaOleg/postcss-sass) [](https://coveralls.io/github/AleshaOleg/postcss-sass) [](https://greenkeeper.io/) [](http://cultofmartians.com/tasks/postcss-sass.html) |
| |
| A [Sass](http://sass-lang.com/) parser for [PostCSS](https://github.com/postcss/postcss), using [gonzales-pe](https://github.com/tonyganch/gonzales-pe). |
| |
| **Not all Sass syntax supported. Parser under development.** |
| |
| **This module does not compile Sass.** It simply parses mixins as custom at-rules & variables as properties, so that PostCSS plugins can then transform Sass source code alongside CSS. |
| |
| ## Install |
| `npm i postcss-sass --save` |
| |
| ## Usage |
| ```js |
| var postcssSass = require("postcss-sass"); |
| |
| postcss(plugins).process(sass, { syntax: postcssSass }).then(function (result) { |
| result.content // Sass with transformations |
| }); |
| ``` |