console.dog

0.0.2 • Public • Published

console.dog

Build Status

"Replaces" console.log with a better alternative which prints a random ASCII dog above the standard console.log output.

Install

npm install console.dog --save

Usage

require('console.dog');
 
console.dog('Woof!');
 
/*
    
    // -> '            __
    // -> (\,--------'()'--o
    // -> (_    ___    /~"
    // -> (_)_)  (_)_)'
 
    // -> 'Woof!' */
 
/*
    You can override the random colour with one of those available through the 'colors' module using 'color'.
    https://www.npmjs.com/package/colors
*/
console.dog('color', 'cyan');
console.dog('Woof!');
 

To do

  • Needs more dog.

Package Sidebar

Install

npm i console.dog

Weekly Downloads

2

Version

0.0.2

License

ISC

Last publish

Collaborators

  • leemm