tiny command line utility to output a file as a base64 string to stdout
npm i allyourbase64 -g
recommended as a global util
allyourbase64 ./path/to/file | command
allyourbase64 ./path | cat
Will output the file at that path to the terminal as a base64 encoded string