colorate
v0.1.4
Published
A simple and lightweight terminal stylizer.
Downloads
61
Maintainers
Readme
Colorate
A simple and lightweight terminal stylizer.
Repository | Package | Releases | Discussions
npm i colorate
Features
- TypeScript friendly
- Fully tree-shakeable
- No dependencies
Usage
import { cl, bold, lime, n } from 'colorate'
cl(bold(lime('colorate ')) + '💬 Package info...', n)
API
| Text Colors | Background Colors | Text Styles | Console Aliases |
| ----------- | ----------------- | ------------- | --------------- |
| amber()
| bgAmber()
| bold()
| cl()
|
| black()
| bgBlack()
| crossout()
| cw()
|
| blue()
| bgBlue()
| darken()
| ce()
|
| cyan()
| bgCyan()
| hidden()
| n
|
| gray()
| bgGray()
| invert()
| |
| green()
| bgGreen()
| italic()
| |
| indigo()
| bgIndigo()
| reset()
| |
| lime()
| bgLime()
| underline()
| |
| magenta()
| bgMagenta()
| | |
| pink()
| bgPink()
| | |
| red()
| bgRed()
| | |
| rose()
| bgRose()
| | |
| silver()
| bgSilver()
| | |
| sky()
| bgSky()
| | |
| white()
| bgWhite()
| | |
| yellow()
| bgYellow()
| | |
Community
Feel free to use the official discussions for any additional questions.
License
Developed in 🇭🇷 Croatia
Released under the MIT license.
© Ivo Dolenc