base64-file-converter

0.1.0 • Public • Published

base64 File Converter

Encode a file to base64, or decode it back to the original.

Installation

Just the usual npm install --global base64-file-converter.

Example

# Assuming you are in this repo's folder, create a dummy archive file
gzip README.md

# encode to base64
base64-file-converter encode README.md.gz base64.txt 

# decode from base64
base64-file-converter decode base64.txt decoded.gz

# Test equality
diff README.md.gz decoded.gz && echo Equal files 
# Should display: "Equal files"

gzip -t README.md.gz && echo Integrity check passed
# Should display: Integrity check passed

Package Sidebar

Install

npm i base64-file-converter

Weekly Downloads

0

Version

0.1.0

License

GPLv2

Last publish

Collaborators

  • kayhadrin