/chroma-console

🌈 Whimsical console messages 🌈

Primary LanguageJavaScriptMIT LicenseMIT

Chroma Console, aka 'Coco'

License: MIT

Rainbow font, with one import. No configuration needed, just works for terminal or Google Chrome.

alt text

import { Coco } from 'chroma-console';

(...)

Coco.log('testing debug output');

alt text

Big colorful buffers incase you need a visual blurb somewhere...

import { Coco } from 'chroma-console';

(...)

Coco.start();
Coco.end();

alt text

Uses πŸ”— gradient-string

Please note if you want more options, please check out πŸ”— Chalk,πŸ”— Chalk Animation, orπŸ”—colorfy

NPM Package Link - https://www.npmjs.com/package/chroma-console

TODO -

  • typescript types
  • if you set the color wrong, error out
  • different colors (red, orange, yellow, etc) / unit tests for this
  • bool flag helper