2.2.0 • Published 5 years ago
tn-consoler v2.2.0
Usage
import { consoler } from 'tn-consoler'
consoler.log(`Wow {bgcyan+b:text}`, options, ...others)Methods
consoler.log()consoler.warn()consoler.error()consoler.trace()consoler.group()consoler.groupCollapsed()consoler.groupEnd()
Syntax
;`{tag:text}``{tag+tag+tag:text}``{tag:with \\{\\:\\} scapes}`Tags
- Colors : dark, light, red, cyan, green, white, orange, purple, yellow, grey
- Background Colors : bgdark, bglight, bgred, bgcyan, bggreen, bgwhite, bgorange, bgpurple, bgyellow, bggrey
- Others : b, nb, i, ni, u, nu
Options
const options = {
$global: ['tag', 'tag', { fontSize: '25px' }],
custom: { fontWeight: 'bold' },
custom2: ['bgred', 'b', {...}]
}2.2.0
5 years ago
2.1.2
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.5
5 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.4.0
5 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago