v4.0.2
Patches
-
Disable colorization if inside a TTY context (#33): 5c7353f
Thank you @ai~!# Before: $ npx app.js > log.txt #=> The `log.txt` filled with ANSI codes # After: $ npx app.js > log.txt #=> The `log.txt` is plain text # OVERRIDE: $ FORCE_COLOR=1 npx app.js > log.txt #=> The `log.txt` filled with ANSI codes; as requested