Useful library for debugging in node, with formatted colors and dates, is intended to be intuitive.
Any developer who needs clean and well-formatted messages in the terminal.
Marcus Yoda @marcusyoda
Prototype development, final version and testing.
First you need to install with npm or yarn...
npm install --save ts-print
yarn add ts-print
...then you can show any type of message:
import Print from 'ts-print'
Print().br()
Print('Faça ou não faça, tentativa não há!').info()
Print('Faça ou não faça, tentativa não há!').notice()
Print().br()
Print('Faça ou não faça, tentativa não há!').warn()
Print().br()
Print('Faça ou não faça, tentativa não há!').fail()
Print('Faça ou não faça, tentativa não há!').err()
Print().br()
Print('Faça ou não faça, tentativa não há!').success()
Print('Faça ou não faça, tentativa não há!').ok()
Print().br()
Resultado no PowerShell, usando o Windows 11:
Versioning SemVer. To view the available versions, look at: tags on this repository.
- Proudly, running with no dependencies.
Developed by Marcus Yoda, during javascript research and study.