https://github.com/jstransformers/jstransformer-html-beautify
JS Beautify HTML support for JSTransformers.
https://github.com/jstransformers/jstransformer-html-beautify
Last synced: 4 months ago
JSON representation
JS Beautify HTML support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-html-beautify
- Owner: jstransformers
- License: mit
- Created: 2015-07-05T05:07:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T04:28:03.000Z (about 6 years ago)
- Last Synced: 2025-04-08T23:37:04.498Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-html-beautify
- Size: 47.9 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-html-beautify
[JS Beautifier HTML](https://github.com/beautify-web/js-beautify) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-html-beautify)
[](https://codecov.io/gh/jstransformers/jstransformer-html-beautify)
[](http://david-dm.org/jstransformers/jstransformer-html-beautify)
[](https://www.npmjs.org/package/jstransformer-html-beautify)
## Installation
npm install jstransformer-html-beautify
## API
```js
var beautify = require('jstransformer')(require('jstransformer-html-beautify'))
beautify.render(' Hello World! ').body
//=> 'Hello World!'
```
## License
MIT