tinyrainbow
> a fork of [picocolors](https://www.npmjs.com/package/picocolors), but browser friendly
Last updated 4 years ago by oreanno .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install tinyrainbow 
SYNC missed versions from official npm registry.

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!')))

Current Tags

  • 3.2.0                                ...           latest (2 months ago)
  • 3.1.1-pre.1                                ...           next (4 months ago)

15 Versions

  • 3.2.0                                ...           2 months ago
  • 3.1.1                                ...           4 months ago
  • 3.1.1-pre.1                                ...           4 months ago
  • 3.1.1-pre.0                                ...           4 months ago
  • 3.1.0                                ...           9 months ago
  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.0.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Total 19
Today 0
This Week 0
This Month 17
Last Day 0
Last Week 2
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE