An open API service indexing awesome lists of open source software.

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.

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).

[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-html-beautify/master.svg)](https://travis-ci.org/jstransformers/jstransformer-html-beautify)
[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-html-beautify/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-html-beautify)
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-html-beautify/master.svg)](http://david-dm.org/jstransformers/jstransformer-html-beautify)
[![NPM version](https://img.shields.io/npm/v/jstransformer-html-beautify.svg)](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