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 🙏

© 2026 – Pkg Stats / Ryan Hefner

quick.logs

v2.0.1

Published

A tiny npm package for users starting out with coding to make their console easier to read.

Readme

quick.logs

Quick.logs is a small and simple npm package to make your console look more beautiful. It is aimed at users new to coding for a simpler approach than other packages like colors, which need extended code.

Installation

npm i quick.logs --save

Make sure the package name is plural, otherwise you will download a different package.

Basic Examples

If something happened successfully...

const quick = require('quick.logs');

quick.success('Hooray! Everything worked successfully.');

If an error occurred...

const quick = require('quick.logs');

myFunction().catch(e => quick.error(e));
// .error() only logs in magenta text. If you would like to use red text, use .fatal() instead.

Get a reminder...

const quick = require('quick.logs');

quick.info('The server IP is 123.45.678.90, remember that!');

Color Examples

Say something in cyan text...

const quick = require('quick.logs');

quick.cyan('Hello world!');

Methods

Pre-Prepared Prefixes:

.debug('message', { options });
.success('message', { options });
.warn('message', { options });
.error('message', { options });
.fatal('message', { options });
.info('message', { options });

// options is an object. All parameters are optional. Here is a list of them:
/*

showtype: boolean?	( Default is true. Should the prefix (e.g. DEBUG: ...) show? )
topline: boolean? ( Default is false. Should there be an extra line above the text? )
bottomline: boolean? ( Default is false. Should there be an extra line below the text? )

*/

Single-Colored Messages:

.cyan('message', { options });
.green('message', { options });
.yellow('message', { options });
.pink('message', { options }); // Alternatively you can use .magenta()
.red('message', { options });

// options is an object. All parameters are optional. Here is a list of them:
/*

topline: boolean? ( Default is false. Should there be an extra line above the text? )
bottomline: boolean? ( Default is false. Should there be an extra line below the text? )

*/

Using .log()

.log('message', 'type', { options });

// Type can be any one of these: 
/*

debug / cyan
success / green
warn / warning / yellow
error / pink / magenta
fatal / red
info / blue

*/

// options is an object. All parameters are optional. Here is a list of them:
/*

showtype: boolean?	( Default is true. Should the prefix (e.g. DEBUG: ...) show? )
topline: boolean? ( Default is false. Should there be an extra line above the text? )
bottomline: boolean? ( Default is false. Should there be an extra line below the text? )

*/

Using .custom()

.custom('message', 'prefix', color);

// This function doesn't have any options attributes... yet.
// Color can be any one of these:
/*

'cyan' / 6
'green' / 2
'yellow' / 3
'pink' / 'magenta' / 5
'red' / 1
'blue' / 4

*/

Limitations

Temporary

  • Bold, Italic, and Underline styles.
  • Doesn't support promises
  • Might overlap some messages sent with console.log() or process.stdout.write()

Permanent

  • Doesn't support multiple colors. Use colors or chalk instead.

Changelog

Version 2.0.1

  • Actually remembered to update the readme

Version 2.0.0

  • No longer requires a dependency
  • No longer need to write unneeded optional parameters
  • Complete rewrite with more efficient code
  • Now supports async/await
  • Now includes functions without prefixes by default
  • Support for custom prefixes and colors