Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/charlesstover/base64-encode-file

Encodes an entire file via base64.
https://github.com/charlesstover/base64-encode-file

base64 base64-encoding base64encode base64encoder es6 javascript js node node-js nodejs

Last synced: 5 days ago
JSON representation

Encodes an entire file via base64.

Awesome Lists containing this project

README

        

# base64-encode-file
Encodes an entire file via base64.

## Use
`node index.js FILENAME` will take a the file `FILENAME` and output `FILENAME.base64`.

## Examples
`node index.js font.woff` will output `font.woff.base64`.

## Use Cases
The primary, personal purpose of this project was to convert font files to base64 so as to be able to include them inline in CSS.