Base64 for browerjs.
npm install -S afeiship/next-base64 --registry=https://registry.npm.taobao.org
import NxBase64 from 'next-base64';
const encode_str = NxBase64.encode('afei');
// YWZlaQ==
const decode_str = NxBase64.decode(encode_str);
// afei
- Add str b64 solution (base64-js)