postcss-sass
A Sass parser for PostCSS, using gonzales-pe.
Last updated 4 years ago by aleshaoleg .
MIT · Repository · Bugs · Original npm
$ cnpm install postcss-sass 
SYNC missed versions from official npm registry.

postcss-sass

Build Status Coverage Status Greenkeeper badge Cult Of Martians

A Sass parser for PostCSS, using 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

var postcssSass = require("postcss-sass");

postcss(plugins).process(sass, { syntax: postcssSass }).then(function (result) {
    result.content // Sass with transformations
});

Current Tags

  • 0.5.0                                ...           latest (4 years ago)

4 Versions

  • 0.5.0                                ...           4 years ago
  • 0.4.4                                ...           5 years ago
  • 0.2.0                                ...           8 years ago
  • 0.3.5                                ...           7 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org