https://github.com/jstransformers/jstransformer-jscss
JSCSS support for JSTransformers
https://github.com/jstransformers/jstransformer-jscss
Last synced: over 1 year ago
JSON representation
JSCSS support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-jscss
- Owner: jstransformers
- License: mit
- Created: 2015-04-12T23:11:02.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T02:21:04.000Z (about 6 years ago)
- Last Synced: 2025-02-21T22:38:39.710Z (over 1 year ago)
- Language: CSS
- Homepage: http://npm.im/jstransformer-jscss
- Size: 57.6 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-jscss
[JSCSS](https://github.com/AlexanderSelzer/jscss) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-foo)
[](https://codecov.io/gh/jstransformers/jstransformer-foo)
[](http://david-dm.org/jstransformers/jstransformer-foo)
[](https://www.npmjs.org/package/jstransformer-foo)
## Installation
npm install jstransformer-jscss
## API
```js
var jscss = require('jstransformer')(require('jstransformer-jscss'))
var input = 'var color = "#d02783"; div { background: |color|; }'
jscss.render(input).body
//=> 'div { background: #d02783; }'
```
## License
MIT