1.0.2 • Published 2 years ago

@nonz250/image-base64 v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Convert images to base64 strings.

Usage

  1. Install package.
npm i --location=global @nonz250/image-base64

Restart terminal.

image-base64 --help
image-base64 encode <path>
image-base64 encode ~/foo/bar.png
image-base64 encode ./baz.png 
  1. Npx command.
npx @nonz250/image-base64 --help
npx @nonz250/image-base64 encode <path>
npx @nonz250/image-base64 encode ~/foo/bar.png
npx @nonz250/image-base64 encode ./baz.png