cli-html
v4.2.0
Published
Render HTML to Terminal
Downloads
5,390
Maintainers
Readme
Welcome to cli-html
Renderer HTML in the Terminal. Supports pretty tables and syntax highlighting
Install
npm i -g cli-html
Example
html examples/demo.html
This will produce the following:
Usage as module
npm i cli-html
import cliHtml from 'cli-html';
const html = `
<h1>Hello World</h1>
`
console.log(cliHtml(html));
Run tests
npm run test
Author
👤Grigorii Horos
- Github: @grigorii-horos
Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
License
Copyright © 2019 Grigorii Horos.
This project is GPL-3.0-or-later licensed.