Skip to content

henrikvilhelmberglund/hvb-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hvb-console

This is a library that

  • gives some color to your console.info(), console.warn() and console.error()
  • adds the location where the log was called from and you can ctrl+click it to go to that location

It only affects Node console.logs (server side only). Browser logging is unaffected.

Before:

hvb-console-before

After:

hvb-console-after

Install

npm install -D hvb-console

Usage

import console from "hvb-console";

About

Colored console logs server side using kleur.

Resources

License

Stars

Watchers

Forks

Packages

No packages published