https://github.com/jstransformers/jstransformer-jscss-lite
JSCSS-Lite support for JSTransformers.
https://github.com/jstransformers/jstransformer-jscss-lite
Last synced: over 1 year ago
JSON representation
JSCSS-Lite support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-jscss-lite
- Owner: jstransformers
- License: mit
- Created: 2015-08-05T20:44:28.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T02:29:49.000Z (about 6 years ago)
- Last Synced: 2025-02-23T18:38:15.503Z (over 1 year ago)
- Language: CSS
- Size: 51.8 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-jscss-lite
[JSCSS-Lite](https://github.com/tunnckoCore/jscss-lite) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-jscss-lite)
[](https://codecov.io/gh/jstransformers/jstransformer-jscss-lite)
[](http://david-dm.org/jstransformers/jstransformer-jscss-lite)
[](https://www.npmjs.org/package/jstransformer-jscss-lite)
## Installation
```
npm install jstransformer-jscss-lite
```
## API
> See full example in [test fixture](./test/input.css) or visit [jscss-lite readme](https://github.com/tunnckocore/jscss-lite)
```js
var jscssLite = require('jstransformer')(require('jstransformer-jscss-lite'))
jscssLite.render('var color = "#d02783"; div { background: |color|; }').body
//=> 'div { background: #d02783; }'
```
## License
MIT