2023.06.22

This commit is contained in:
killerboss 2023-06-22 17:48:01 +02:00
parent 0defd1949b
commit da6997f0ab
2 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "node-cout",
"version": "2023.06.19-1",
"version": "2023.06.22",
"description": "Standard output module for JavaScript / TypeScript",
"main": "build/index.js",
"types": "build/index.d.ts",

View file

@ -23,6 +23,10 @@ export class cout {
let time = `${getTime().hours}:${getTime().minutes}:${getTime().seconds}`;
type = type.toUpperCase();
if (getTime().hours < 10) time += " ";
if (getTime().minutes < 10) time += " ";
if (getTime().seconds < 10) time += " ";
let timec = chalk.blue(time), stringc: string = " ", typec: string, emoji: string, emojic: string;
switch (type) {