https://github.com/rt2zz/stylwriter
https://github.com/rt2zz/stylwriter
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rt2zz/stylwriter
- Owner: rt2zz
- Created: 2013-06-03T23:32:17.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-02-25T08:03:00.000Z (over 11 years ago)
- Last Synced: 2025-05-03T22:48:38.206Z (about 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## StylWriter
Simple module to convert styl files to css files and write the css file to disk.
### Example
Typical usage in a http route. If a stream is passed as a second argument, the compiled css will be streamed out.
```js
var stylwriter = require('stylwriter')
function(req, res){
stylwriter('styles.styl', res)
}
```