0.0.1 • Published 10 years ago

console.star v0.0.1

Weekly downloads
2
License
BSD-2-Clause
Repository
github
Last release
10 years ago

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.)
};