https://github.com/jstransformers/jstransformer-html2jade
html2jade support for JSTransformers.
https://github.com/jstransformers/jstransformer-html2jade
Last synced: over 1 year ago
JSON representation
html2jade support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-html2jade
- Owner: jstransformers
- License: mit
- Created: 2015-08-06T04:55:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T02:31:40.000Z (about 6 years ago)
- Last Synced: 2025-02-23T20:48:38.369Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-html2jade
- Size: 54.7 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-html2jade
[html2jade](https://github.com/donpark/html2jade) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-html2jade)
[](https://codecov.io/gh/jstransformers/jstransformer-html2jade)
[](http://david-dm.org/jstransformers/jstransformer-html2jade)
[](https://www.npmjs.org/package/jstransformer-html2jade)
## Installation
npm install jstransformer-html2jade
## API
```js
var html2jade = require('jstransformer')(require('jstransformer-html2jade'))
var opts = {
bodyless: true
}
html2jade.renderAsync('
Hello World
', opts)
.then(function (jade) {
console.log(jade)
//=> 'p Hello World'
})
```
## License
MIT