Repository for 'standard' module (npmjs)
Find a file
dependabot[bot] 5c0c648974
Bump @types/node from 18.16.14 to 20.2.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.14 to 20.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 07:33:32 +00:00
.github 2023.02.05 2023-02-05 13:38:01 +01:00
src 2023.02.05 2023-02-05 13:38:01 +01:00
.gitignore typescript rewrite 2023-01-26 21:18:14 +00:00
.npmrc 0.0.1 2022-11-02 19:48:49 +01:00
package.json Bump @types/node from 18.16.14 to 20.2.3 2023-05-22 07:33:32 +00:00
README.md . 2023-01-29 21:08:38 +01:00
tsconfig.json 2023.02.05 2023-02-05 13:38:01 +01:00

STD

Standard module for NodeJS / TypeScript

import { cin } from '@thundernetworkrad/std';
cin('Question').then((response) => {
    console.log(response)
})
import { createCout } from '@thundernetworkrad/std';

let ccout = new createCout(0, true); // debugLevel, logs enabled (file) (like using log() )

let cout = ccout.cout;

cout('test', 0) // console.log day, time and the string, if the number is >= to the debugLevel
import { log } from '@thundernetworkrad/std';

log('test') // create a file at the first log, add the string to the log
import { getTime } from '@thundernetworkrad/std';

let time = getTime() // return { year, month, day, hours, minutes, seconds }