2.0.1 • Published 8 years ago

base64uri-cli v2.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

base64uri-cli

A simple CLI to encode a file as base64, and copy it as a data URI to the clipboard.

Installation

  1. First install Node and npm
  2. From the command line run npm install -g base64uri-cli

Usage

From the command line run base64uri-cli path/to/file.png, the encoded data URI should then be copied to your clipboard.

By default a data URI is returned, as this is what I wrote the CLI for. If you want the raw base64 string pass an optional -raw parameter i.e. base64uri-cli path/to/file.png -raw

Feedback

This is my first Node project and my first CLI so constructive criticism is very much welcome.

2.0.1

8 years ago

2.0.0

9 years ago

1.0.0

9 years ago