open-index/open-npm huggingface dataset:
npm package: 64bases
Description: convert files to base64 string
Author: Milchgraf
Latest version: 1.0.2

# 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);
```