jstransformers / jstransformer-html-beautify

JS Beautify HTML support for JSTransformers.
http://npm.im/jstransformer-html-beautify
MIT License
2 stars 1 forks source link

jstransformer-html-beautify

JS Beautifier HTML support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-html-beautify

API

var beautify = require('jstransformer')(require('jstransformer-html-beautify'))

beautify.render('<strong > Hello World! </strong  >').body
//=> '<strong>Hello World!</strong>'

License

MIT