UNPKG
humanifyjs
Version:
latest (2.2.2)
2.2.2
2.2.1
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.3
2.0.1
2.0.0
2.0.0-alpha5
2.0.0-alpha4
2.0.0-alpha3
2.0.0-alpha2
2.0.0-alpha1
> Deobfuscate Javascript code using LLMs ("AI")
humanifyjs
/
dist
/
src
/
verbose.js
13 lines
(12 loc)
•
332 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
export
const
verbose = {
log
(
...args
) {
if
(
this
.
enabled
) {
const
timestamp =
new
Date
() .
toISOString
() .
replace
(
/T/
,
" "
) .
replace
(
/\..+/
,
""
);
console
.
log
(
`[
${timestamp}
] `
, ...args); } },
enabled
: process.
env
[
"CI"
] ===
"true"
};