No description
Find a file
2023-06-19 19:01:40 +02:00
.github/workflows 2023.02.05-1 2023-02-05 13:32:26 +01:00
src 2023.06.19 2023-06-19 18:59:21 +02:00
.gitignore Edit gitignore 2023-06-19 17:47:11 +02:00
.npmrc Initial commit 2023-02-03 18:47:53 +01:00
LICENSE Initial commit 2023-02-03 18:47:53 +01:00
package.json 2023.06.19 2023-06-19 18:59:21 +02:00
readme.md 2023.06.19 2023-06-19 19:01:40 +02:00
tsconfig.json 2023.06.19 2023-06-19 18:59:21 +02:00

COUT

This module allow you to make COUT and Debugs in NodeJS

MJS or TypeScript

import { cout } from 'node-cout';

cout = new cout(0, true, true); // debugLevel, logs enabled (file), emojis enabled

cout.debug('test', 0) // console.log time and the string, if the number is >= to the debugLevel
cout.log('test')
cout.error('test')
cout.warn('test')
cout.info('test')

CJS

use await import("")

let { cout } = await import('node-cout');