https://github.com/jstransformers/jstransformer-pug
Pug support for JSTransformers
https://github.com/jstransformers/jstransformer-pug
Last synced: about 1 year ago
JSON representation
Pug support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-pug
- Owner: jstransformers
- License: mit
- Created: 2016-06-02T20:40:54.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-12-11T20:40:32.000Z (over 4 years ago)
- Last Synced: 2024-04-25T10:20:25.622Z (about 2 years ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-pug
- Size: 74.2 KB
- Stars: 6
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-pug
[Pug](http://npm.im/pug) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-pug)
[](https://codecov.io/gh/jstransformers/jstransformer-pug)
[](http://david-dm.org/jstransformers/jstransformer-pug)
[](https://www.npmjs.org/package/jstransformer-pug)
## Installation
npm install jstransformer-pug
## API
```js
var pug = require('jstransformer')(require('jstransformer-pug'))
pug.render('h1 Hello World!').body
//=> '
Hello World!
'
```
## License
MIT