1.2.0 • Published 2 years ago

danno-tools v1.2.0

Weekly downloads
8
License
MIT
Repository
github
Last release
2 years ago

This is a base for tools i use on a regular basis ~ stuff is added as i need it.

INSTALLATION

npm install danno-tools

CLASSES

  • Logger({ WTF: boolean, path: string }) // WTF: Write to file.
    • log(..content: string[])
    • info(..content: string[])
    • debug(..content: string[])
    • warn(..content: string[])
    • error(..content: string[])

CODE EXAMPLES

  const { Logger } = require('danno-tools');
  const logger = new Logger({ WTF: true, path: './logs' });
  logger.log('this is a test');
1.2.0

2 years ago

1.1.3

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago