jstransformer-resin

0.3.0 • Public • Published

jstransformer-resin

Resin support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-resin

API

var resin = require('jstransformer')(require('jstransformer-resin'));
 
var options = {
  browsers: ['last 2 version', 'ios', 'android 4'],
  // Add a namespace to your classes to avoid collisions
  namespace: 'jstransformer',
  // Add a license to the final output
  license: '// Copyright 2015 and stuff \n'
};
var css = ':root { var-grey: #666; } .btn { box-shadow: 0 1px var(grey); }';
 
resin.render(css, options);
//=> '// Copyright 2015 and stuff \n.topcoat-btn {\n  box-shadow: 0 1px #666;\n}'

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i jstransformer-resin

Weekly Downloads

2

Version

0.3.0

License

MIT

Last publish

Collaborators

  • stoeffel
  • hemanth
  • timothygu
  • calebeby
  • vanchoy
  • tunnckocore