cli-html-c
Version:
There will be cli module who render HTML to Terminal
80 lines (46 loc) • 1.55 kB
Markdown
Welcome to cli-html
===

[](https://github.com/horosgrisa/cli-html#readme)
[](https://github.com/horosgrisa/cli-html/graphs/commit-activity)
[](https://github.com/horosgrisa/cli-html/blob/master/LICENSE)

> Renderer HTML in the Terminal.
> Supports pretty tables and syntax highlighting
## Install
```sh
npm i -g cli-html
```
## Example
```sh
html demo.html
```
This will produce the following:


## Usage as module
```sh
npm i cli-html
```
```js
const cliHtml = require('cli-htm');
const html = `
<h1>Hello World</h1>
`
console.log(cliHtml(html));
```
## Run tests
```sh
npm run test
```
## Author
👤**Grigorii Horos**
* Github: [@horosgrisa](https://github.com/horosgrisa)
## Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/horosgrisa/cli-html/issues).
## Show your support
Give a ⭐️ if this project helped you!
## License
Copyright © 2019 [Grigorii Horos](https://github.com/horosgrisa).
This project is [GPL-3.0-or-later](https://github.com/horosgrisa/cli-html/blob/master/LICENSE) licensed.