npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

Iโ€™ve always been into building performant and accessible sites, but lately Iโ€™ve been taking it extremely seriously. So much so that Iโ€™ve been building a tool to help me optimize and monitor the sites that I build to make sure that Iโ€™m making an attempt to offer the best experience to those who visit them. If youโ€™re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, ๐Ÿ‘‹, Iโ€™m Ryan Hefnerย  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If youโ€™re interested in other things Iโ€™m working on, follow me on Twitter or check out the open source projects Iโ€™ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soonโ€“ish.

Open Software & Tools

This site wouldnโ€™t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you ๐Ÿ™

ยฉ 2025 โ€“ย Pkg Stats / Ryan Hefner

rainbow-console-colors

v1.0.5

Published

๐ŸŒˆ Transform your boring console.log into a rainbow of colors, animations, and emojis! Make debugging fun again! โœจ

Readme

๐ŸŒˆ Rainbow Console

Transform your boring console.log into a rainbow of colors, animations, and emojis! Make debugging fun again! โœจ

Version License Rainbow Fun

Because life's too short for boring console logs! ๐ŸŽ‰


๐Ÿš€ Why Rainbow Console?

  • ๐ŸŽจ 16+ Beautiful Effects - From rainbow text to typewriter animations
  • ๐Ÿ˜Š Emoji Integration - Every message gets the perfect emoji
  • ๐Ÿ”— Method Chaining - Chain multiple effects for epic logs
  • โšก Zero Config - Works out of the box, no setup required
  • ๐Ÿ“ฆ Lightweight - Only one dependency (chalk)
  • ๐ŸŽฏ TypeScript Ready - Full TypeScript support coming soon

๐Ÿ“ฅ Installation

npm install rainbow-console-colors

That's it! No configuration, no complicated setup. Just install and start making your console AMAZING! ๐ŸŽŠ


๐ŸŽฎ Quick Start

const rc = require('rainbow-console-colors');

// Basic usage - so easy!
rc.success('Package installed successfully!');
rc.error('Oops! Something went wrong');
rc.warning('This feature is deprecated');
rc.info('Server running on port 3000');

// Make text RAINBOW! ๐ŸŒˆ
rc.rainbow('This text is absolutely RAINBOW!');

// Special effects for special moments
rc.fire('This feature is HOT!');
rc.rocket('Launching to production!');
rc.party('100 users online!');
rc.magic('Code deployed like magic!');

๐ŸŽจ All Available Methods

๐Ÿ“ข Basic Messages

rc.success('Everything worked perfectly!');    // โœ… Green success message
rc.error('Something went wrong!');             // โŒ Red error message  
rc.warning('Be careful with this!');           // โš ๏ธ Yellow warning message
rc.info('Here\'s some useful information');    // โ„น๏ธ Cyan info message

๐ŸŒˆ Rainbow Magic

rc.rainbow('Every letter gets a different color!');
// Output: E(red)v(yellow)e(green)r(cyan)y(blue)...(and so on)

๐ŸŽฏ Special Effects

rc.fire('This feature is absolutely HOT!');     // ๐Ÿ”ฅ Fire effect
rc.rocket('Launching the new version!');        // ๐Ÿš€ Rocket effect  
rc.party('We reached 1000 users!');            // ๐ŸŽ‰ Party effect
rc.magic('Deployment completed like magic!');   // โœจ Magic sparkles

๐ŸŽจ Custom Styling

rc.color('This text is red', 'red');
rc.color('This text is blue', 'blue');
rc.color('This text is yellow', 'yellow');
// Supports all chalk colors!

๐Ÿ“ฆ Box Messages

rc.box('Important Notice!\nThis is a boxed message\nwith multiple lines!');
โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘  Important Notice!       โ•‘
โ•‘  This is a boxed message โ•‘
โ•‘  with multiple lines!    โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โณ Progress Bars

rc.progress(75, 'Loading awesome features...');
// Progress: [โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘] 75% Loading awesome features...

โŒจ๏ธ Typewriter Effect

await rc.typewriter('This text appears like typing...', 100);
// Each character appears with a delay - so cool!

๐Ÿ”— Method Chaining

rc.chain()
  .success('First step completed!')
  .warning('Be careful with step 2')
  .info('Processing step 3...')
  .party('All steps completed!');

๐Ÿงน Utility Methods

rc.clear();        // Clear the console
rc.showRainbow();  // Show the epic rainbow logo

๐ŸŽช Live Demo

Want to see Rainbow Console in action? Run the demo:

npm run demo

This will show you ALL the amazing features with live examples! ๐ŸŽฌ


๐Ÿงช Testing

Make sure everything works perfectly:

npm test

All tests are included and will verify every feature works as expected! โœ…


๐Ÿ’ก Pro Tips & Tricks

๐Ÿ”ฅ Combine Effects for Maximum Impact

rc.clear();
rc.showRainbow();
rc.party('Welcome to my amazing app!');
rc.rainbow('Everything is working perfectly!');
rc.box('Pro tip:\nChain methods for\neven more fun!');

๐ŸŽฏ Use in Different Scenarios

Starting your app:

rc.rocket('Server starting...');
rc.success('Server running on http://localhost:3000');

Error handling:

rc.error('Database connection failed');
rc.warning('Retrying in 5 seconds...');

Deployment celebrations:

rc.party('Deployment successful!');
rc.fire('Your app is now LIVE!');
rc.rainbow('Congratulations! ๐ŸŽ‰');

๐ŸŽจ Create Custom Themes

// Morning theme
rc.color('โ˜€๏ธ Good morning!', 'yellow');
rc.info('Starting daily tasks...');

// Night theme  
rc.color('๐ŸŒ™ Working late?', 'blue');
rc.magic('Code never sleeps!');

๐Ÿ›  Advanced Usage

๐Ÿ“Š Progress Tracking

async function deployApp() {
  rc.rocket('Starting deployment...');
  
  for (let i = 0; i <= 100; i += 20) {
    rc.progress(i, 'Deploying to production...');
    await new Promise(resolve => setTimeout(resolve, 500));
  }
  
  rc.party('Deployment complete!');
}

๐ŸŽฌ Animated Sequences

async function showWelcome() {
  rc.clear();
  await rc.typewriter('Welcome to Rainbow Console!', 80);
  rc.showRainbow();
  rc.party('Let\'s make console logs fun again!');
}

๐Ÿค Contributing

We'd love your help making Rainbow Console even more amazing!

  1. ๐Ÿด Fork the repository
  2. ๐ŸŒฟ Create your feature branch (git checkout -b amazing-feature)
  3. ๐Ÿ’พ Commit your changes (git commit -m 'Add amazing feature')
  4. ๐Ÿš€ Push to the branch (git push origin amazing-feature)
  5. ๐ŸŽ‰ Open a Pull Request

๐Ÿ“ Changelog

v1.0.0 - The Rainbow Launch! ๐ŸŒˆ

  • โœจ Initial release with 16+ methods
  • ๐ŸŽจ Rainbow text effect
  • ๐Ÿ˜Š Emoji integration for all messages
  • ๐Ÿ”— Method chaining support
  • โณ Progress bar animations
  • โŒจ๏ธ Typewriter effect
  • ๐Ÿ“ฆ Box messages
  • ๐ŸŽฏ Custom color support

๐Ÿ“„ License

MIT ยฉ Relational Throne

Made with โค๏ธ and lots of โ˜•


๐ŸŒŸ Show Your Support

If Rainbow Console made your console logs more fun, please โญ star this repo!

Happy coding! ๐ŸŽ‰


"Life is too short for boring console logs"

๐ŸŒˆ Rainbow Console - Making debugging delightful since 2025! ๐ŸŒˆ