0.1.4 ā€¢ Published 9 months ago

colorate v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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 ColorsBackground ColorsText StylesConsole 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

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

10 months ago

0.1.0

10 months ago

0.0.1

10 months ago