2023.06.19
This commit is contained in:
parent
902b8e9dce
commit
076185d889
1 changed files with 8 additions and 2 deletions
10
readme.md
10
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
|
||||
|
||||
|
@ -14,3 +14,9 @@ cout.error('test')
|
|||
cout.warn('test')
|
||||
cout.info('test')
|
||||
```
|
||||
|
||||
## CJS
|
||||
use `await import("")`
|
||||
```js
|
||||
let { cout } = await import('node-cout');
|
||||
```
|
Loading…
Reference in a new issue