next-file-to-base64
File to base64 based on FileReader for next.
installation
npm install -S @jswork/next-file-to-base64
usage
import '@jswork/next-file-to-base64';
nx.fileToBase64(inFile).then((base64)=>{
console.log(base64);
});
license
Code released under the MIT license.