8000 GitHub - tinylibs/tinyrainbow: 🌈 a small library to print colourful messages
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tinylibs/tinyrainbow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyrainbow

Output your colorful messages in the terminal or browser console that support ANSI colors (Chrome engines).

A small (~ 6 kB unpacked) fork of picocolors with support for exports field.

Supports only ESM.

Installing

# with npm
$ npm install -D tinyrainbow

# with pnpm
$ pnpm add -D tinyrainbow

# with yarn
$ yarn add -D tinyrainbow

Usage

import c from 'tinyrainbow'

console.log(c.red(c.bold('Hello World!')))

About

🌈 a small library to print colourful messages

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •  
0