https://github.com/jstransformers/jstransformer-stylus
Stylus support for JSTransformers.
https://github.com/jstransformers/jstransformer-stylus
Last synced: 11 months ago
JSON representation
Stylus support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-stylus
- Owner: jstransformers
- License: mit
- Created: 2014-11-27T14:47:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T03:51:25.000Z (over 1 year ago)
- Last Synced: 2024-10-29T01:13:03.347Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npmjs.com/jstransformer-stylus
- Size: 77.1 KB
- Stars: 6
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-stylus
[Stylus](https://learnboost.github.io/stylus/) support for [JSTransformers](http://github.com/jstransformers/jstransformer-stylus).
[](https://travis-ci.org/jstransformers/jstransformer-stylus)
[](https://codecov.io/gh/jstransformers/jstransformer-stylus)
[](http://david-dm.org/jstransformers/jstransformer-stylus)
[](https://www.npmjs.org/package/jstransformer-stylus)
## Installation
npm install jstransformer-stylus
## API
```js
var stylus = require('jstransformer')(require('jstransformer-stylus'))
var css = "fonts = helvetica, arial, sans-serif\
body {\
padding: 50px;\
font: 14px/1.4 fonts;\
}"
stylus.render(css).body
```
## License
MIT