UNPKG

ui-terminal

Version:

Color text, background | node js terminal helper

10 lines (7 loc) 226 B
// Include module let ut = require("../../index"); // Test variables let cyan = "In cyan"; let green = "in green"; // Simple console.log with coloring part of text console.log(`${ut.incyan(cyan)} and ${ut.ingreen(green)}`);