1.2.3 • Published 6 years ago

file-base64-util v1.2.3

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

file-to-base64

Converts any given local file to base64 string.

Installation

npm install file-to-base64 --save

Usage

import { fileToBase64 } from "fileToBase64";
const base64 = fileToBase64(filename); // returns base64 if valid file, otherwise throws an exception

changes

Please see CHANGELOG.md

license

file-to-base64 is freely distributable under the terms of the MIT license.

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago