cli-jsx

1.2.0 • Public • Published

Welcome to cli-jsx

Version Documentation Maintenance License: GPL-3.0 Downloads

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

Install

npm i -g cli-jsx

Example

jsx demo.jsx

This will produce the following:

Screenshot of cli-jsx

Screenshot of cli-jsx

Usage as module

npm i cli-jsx
const cliJSX = require('cli-jsx');
 
const jsx = <h1>Hello World</h1>
 
console.log(cliJSX(jsx));

Run tests

npm run test

Author

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

Package Sidebar

Install

npm i cli-jsx

Weekly Downloads

13

Version

1.2.0

License

GPL-3.0-or-later

Unpacked Size

169 kB

Total Files

8

Last publish

Collaborators

  • horosgrisa