0.1.4 ā¢ Published 9 months ago
colorate v0.1.4
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