1.0.0 • Published 3 years ago

easyblob v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

EasyBlob

Convert a blob to base64 string in seconds.

Authors

Usage/Examples

import easyBlob from './easyblob/index.js';

const fileInput = document.querySelector('#fileInput');
const btnTob64 = document.querySelector('#btnTob64');



btnTob64.addEventListener('click', async (e) => {
    const myBlob = fileInput.files[0];
    const myB64 = await easyBlob.blobToBase64(myBlob);
    console.log(myB64);
});
1.0.0

3 years ago