https://github.com/aleshaoleg/postcss-sass
A Sass parser for PostCSS, using gonzales-pe. https://www.npmjs.com/package/postcss-sass
https://github.com/aleshaoleg/postcss-sass
gonzales-pe postcss postcss-sass sass
Last synced: about 2 months ago
JSON representation
A Sass parser for PostCSS, using gonzales-pe. https://www.npmjs.com/package/postcss-sass
- Host: GitHub
- URL: https://github.com/aleshaoleg/postcss-sass
- Owner: AleshaOleg
- License: mit
- Created: 2017-01-01T11:34:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T02:09:40.000Z (6 months ago)
- Last Synced: 2025-05-15T03:04:31.023Z (about 2 months ago)
- Topics: gonzales-pe, postcss, postcss-sass, sass
- Language: JavaScript
- Homepage:
- Size: 2.08 MB
- Stars: 92
- Watchers: 6
- Forks: 12
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
});
```