npm

Need private packages and team management tools?Check out npm Orgs. »

postcss-sass

0.4.1 • Public • Published

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
});

install

npm i postcss-sass

Downloadsweekly downloads

961,321

version

0.4.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability