Debug your application with kaomoji in the console
npm install @nhht77/kaomoji-log
To use this package, please refer to the following code:
import Log from "@nhht77/kaomoji-log";
Log("YOUR LOG");
// dd/mm/yyyy hh:mm:ss
// YOUR LOG
Log.Success("YOUR LOG");
// SUCCESS dd/mm/yyyy hh:mm:ss
//
// (ノ◕ヮ◕)ノ*:・゚✧ normal string with Kaomoji
options: Options {
displayTime: boolean | {
displayHour?: boolean; // Display current hour as hh:mm:ss - default true
displayDate?: boolean; // Display current date as dd/mm.yyyy - default true
}; // Display current time (date + hour) - default true
displayKaomoji?: boolean; // display kaomoji - default true
}
- MIT ©
- Shoutout to subone with the Closure knowledge
- Code of Conduct
- Contributor Code of Conduct.