1.5.0 • Published 5 years ago
dandy-ui v1.5.0
Dandy UI
This is a minimalistic library for creating simple User Interfaces in Node.js.
Currently the you can
'boxify' text
print colored text (with or without colored background and/or with bold, underline)
create vertical menus that you navigate using the keyboard
horizontal line
debug messages (clearly seperated)
Installation
npm i dandy-ui
// example: const { boxify } = require("dandy-ui");
Some usages
function boxify(strArr = [], fgColor = "blue", bgColor = "white", wOnSides = 3, hFreeSpace = 2)
function greenTxt(text, bgColor, formated)
function menu(items = [], callbackFunction, title = "OPTIONS")
function debugMsg(msg)
function hr(char = "_")