From 076185d8896f4d1253deecefa9a63c80cc48b7f2 Mon Sep 17 00:00:00 2001 From: killerboss Date: Mon, 19 Jun 2023 19:01:40 +0200 Subject: [PATCH] 2023.06.19 --- readme.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index ed57ada..9cb5e14 100644 --- a/readme.md +++ b/readme.md @@ -2,9 +2,9 @@ This module allow you to make COUT and Debugs in NodeJS - +## MJS or TypeScript ```js -import { cout } from '@thundernetworkrad/std'; +import { cout } from 'node-cout'; cout = new cout(0, true, true); // debugLevel, logs enabled (file), emojis enabled @@ -13,4 +13,10 @@ cout.log('test') cout.error('test') cout.warn('test') cout.info('test') +``` + +## CJS +use `await import("")` +```js +let { cout } = await import('node-cout'); ``` \ No newline at end of file