Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console.Star

Console.star is a helper function to call console.log with stars pre/post-appended to the log

Install:

npm install console.star --save-dev

Usage:

console.star('Hello %s', 'World');

// Result:
// ***************
// ***************
// Hello World
// ***************
// ***************

Updating Defaults:

console.starOptions = {
	'starString': '***************', // Update the stars 
	'lines': 2, // Update the number of lines the stars appear
	'logType': 'log' // Update the console logger type (log, warn, error, etc.)
};

About

Provide a simple way to console.log with "stars" wrapping the console.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages