std/README.md

19 lines
395 B
Markdown
Raw Permalink Normal View History

2022-11-02 19:50:58 +01:00
Work IN PROGRESS
```js
2023-01-24 22:50:10 +01:00
const { cin } = require('@thundernetworkrad/std');
cin('Question').then((response) => {
2022-11-02 19:50:58 +01:00
console.log(response)
})
2023-01-24 17:19:35 +01:00
```
```js
const { createCout } = require('@thundernetworkrad/std');
2023-01-24 22:50:10 +01:00
let ccout = new createCout(0, true); // debugLevel, logs enabled (file)
2023-01-24 17:19:35 +01:00
let cout = ccout.cout;
cout('test', 0) // console.log day and time, if the number is >= to the debugLevel
```