UNPKG

nezbold

Version:

Extra light helper for change make the text bold in shell.

11 lines (9 loc) 170 B
const nezbold = { bold(msg) { return "\033[1m" + msg + "\033[0m"; }, boldLog(msg) { console.log(this.bold(msg)); } } module.exports = nezbold;