0.0.2 • Published 6 years ago

nzu v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

nzu

A chainable terminal coloring Node.js module (nzu is the Igbo language translate of chalk)

Technologies

  1. Node.js

Install

NPM:

npm i nzu -S

Yarn:

yarn add nzu

Usage

const nzu = require('nzu')

console.log(`${nzu.blue('nnamdi')}`)
console.log(`${nzu.blue('messi').bold()}`)

Colors

  • nzu.blue
  • nzu.red
  • nzu.cyan
  • nzu.green
  • nzu.yellow
  • nzu.magenta
  • nzu.white
  • nzu.gray

Styles

reset: 0, 0, bold: 1, 22, dim: 2, 22, italic: 3, 23, underline: 4, 24, inverse: 7, 27, hidden: 8, 28, strikethrough: 9, 29

Bright colors

redBright: 91, 39, greenBright: 92, 39, yellowBright: 93, 39, blueBright: 94, 39, magentaBright: 95, 39, cyanBright: 96, 39, whiteBright: 97, 39

Background colors

bgColors

bgBlack: 40, 49, bgRed: 41, 49, bgGreen: 42, 49, bgYellow: 43, 49, bgBlue: 44, 49, bgMagenta: 45, 49, bgCyan: 46, 49, bgWhite: 47, 49,

Background Bright colors

bgBlackBright: 100, 49, bgRedBright: 101, 49, bgGreenBright: 102, 49, bgYellowBright: 103, 49, bgBlueBright: 104, 49, bgMagentaBright: 105, 49, bgCyanBright: 106, 49, bgWhiteBright: 107, 49