A cli (Command line interface) application to read the content of a file or just a simple string value from input.
It also works in linux pipe line to get the input from stdin and puts the output into stdout.
It can be installed locally, but global installation is recommended because makes it available everywhere.
npm install -g hex-reader
You can use hex-reader in three possible ways.
hex-reader /var/log.txt
hex-reader "this is a simple string"
Note: If you pass an invalid file path or the application couldn't be able to read it, it just reads the file path as a simple string.
cat /var/log.txt | hex-reader
And a sample preview of its result: