Skip to content

TheIronDev/console.star

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published