Like hexdump -C
, but as a small JS library.
npm install @cto.af/chex-cli
Usage: chex [options] [file...]
Arguments:
file file names to read or "-" for stdin
Options:
-c,--colors force colors on even if stdout is not a tty
-d,--dots use dots for more control characters, instead of
Unicode representations
-s,--strings <encoding> try to decode strings in this encoding (choices:
"utf8", "utf-8")
-h, --help display help for command