html-tui

0.5.1 • Public • Published

html-tui

HTML to TUI (Text user interface) renderer. It translates DOM Nodes into Text interface.

Demo Playground

Example

$ npm run ansi
 Left   File   Command   Options   Right
<─/var/log/nginx─────────────────────v>┐┌<─~/Documents/html-cli───────────────v>
│                                       ││                                       │
│       Name       │ Size │   MTime     ││       Name       │ Size │   MTime     │
│/..               │  4096│Nov 16 22:2  ││/..               │UP-DIR│Oct 11 20:3  │
│/debian           │  4096│Nov 16 22:2  ││/.idea            │   340│Oct 12 00:5  │
│ Makefile         │  4096│Nov 16 22:2  ││/lib              │   170│Oct 11 23:5  │
│                                       ││ Makefile         │  4096│Nov 16 22:2  │
│                                       ││                                       │
│                                       ││                                       │
└───────────────────────────────────────┘└───────────────────────────────────────┘
~/Documents/html-cli$ node index.js
 
 1Help   2Menu   3View   4Edit   5Copy   6RenMov 7Mkdir  8Delete 9PullDn 10Quit

Live example

Readme

Keywords

none

Package Sidebar

Install

npm i html-tui

Weekly Downloads

1

Version

0.5.1

License

MIT

Last publish

Collaborators

  • azproduction