fashion
v1.0.2
Published
Change the colors of your terminal.
Downloads
9
Maintainers
Readme
Setup
npm i fashion
Usage
const fashion = require('fashion')
console.log(`${fashion.blue('Im blue!')}`)
console.log(`${fashion.yellow.bold.bgGreen('I am yellow with bold text on a green background!')}`)
Colors
- blue
- yellow
- red
- cyan
- green
- magenta
- white
- gray
Styles
- reset
- bold
- dim
- italic
- underline
- inverse
- hidden
Bright colors
- redBright
- greenBright
- yellowBright
- blueBright
- magentaBright
- cyanBright
- whiteBright
Background colors
bgColors
- bgBlack
- bgRed
- bgGreen
- bgYellow
- bgBlue
- bgMagenta
- bgCyan
- bgWhite
Bright background colors
- bgBlackBright
- bgRedBright
- bgGreenBright
- bgYellowBright
- bgBlueBright
- bgMagentaBright
- bgCyanBright
- bgWhiteBright