Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cli-html

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-html

There will be cli module who render HTML to Terminal

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
increased by23.91%
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to cli-html

Version Documentation Maintenance License: GPL-3.0 Downloads

Renderer HTML in the Terminal.
Supports pretty tables and syntax highlighting

Install

npm i -g cli-html

Example

html demo.html

This will produce the following:

Screenshot of cli-html

Screenshot of cli-html

Usage as module

npm i cli-html
const cliHtml = require('cli-htm');

const html = `
<h1>Hello World</h1>
`

console.log(cliHtml(html));

Run tests

npm run test

Author

👤Grigorii Horos

  • Github: @horosgrisa

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.

Keywords

FAQs

Package last updated on 27 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc