UNPKG
vanzy-protect
Version:
latest (1.0.5)
2.5.1
2.0.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
Epic Obfuscator Yeahhh
t.me/vashinty
vanzy-protect
/
src
/
log
/
.trashed-1743813066-error.ts
7 lines
(5 loc)
•
252 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
*
as
kolorist
from
'kolorist'
export
function
error
(
err: string, helpMsg =
false
) {
console
.
error
(kolorist.
red
(
'[ERROR]'
), kolorist.
white
(err))
if
(helpMsg)
console
.
log
(kolorist.
dim
(
'Use the '
+ kolorist.
bold
(
'--help'
) +
' flag for help'
)) }