64bases
v1.0.2
Published
convert files to base64 string
Downloads
5
Readme
64bases
Convert files to Base64 strings.
Just call the async function fileToBase64() and specify the file as parameter. Optionally you can use "true" as an optional parameter to truncate the base64 string before the comma.
await fileToBase64(selectedFile);