Skip to content

jstransformers/jstransformer-precss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jstransformer-precss

PreCSS support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-precss

API

var precss = require('jstransformer')(require('jstransformer-precss'))

var input = `$blue: #056ef0
.menu_link {
    background: $blue;
}`

precss.render(input).body
//=> `.menu_link {
    background: #056ef0;
}`

License

MIT