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
|
This module allow you to make COUT and Debugs in NodeJS
|
||||||
|
|
||||||
|
## MJS or TypeScript
|
||||||
```js
|
```js
|
||||||
import { cout } from '@thundernetworkrad/std';
|
import { cout } from 'node-cout';
|
||||||
|
|
||||||
cout = new cout(0, true, true); // debugLevel, logs enabled (file), emojis enabled
|
cout = new cout(0, true, true); // debugLevel, logs enabled (file), emojis enabled
|
||||||
|
|
||||||
|
@ -13,4 +13,10 @@ cout.log('test')
|
||||||
cout.error('test')
|
cout.error('test')
|
||||||
cout.warn('test')
|
cout.warn('test')
|
||||||
cout.info('test')
|
cout.info('test')
|
||||||
|
```
|
||||||
|
|
||||||
|
## CJS
|
||||||
|
use `await import("")`
|
||||||
|
```js
|
||||||
|
let { cout } = await import('node-cout');
|
||||||
```
|
```
|
Loading…
Reference in a new issue