Base64 encoding and decoding helping util. Created for React Native but can be used anywhere
npm install react-native-base64If you find this package useful hit the star with <3

npm i react-native-base64
`
You can find it on npmjs.com here: https://www.npmjs.com/package/react-native-base64
How to use:
Add import statement:
`
import base64 from 'react-native-base64'
`
To Encode:
`
base64.encode('Some string to encode to base64');
`
To Decode:
`
base64.decode('SW4gbXkgZXllcywgaW5kaXNwb3NlZA0KSW4gZGlzZ3Vpc2VzIG5vIG9uZSBrbm93cw0KUklQIEND==');
`
To Decode from byte arary:
`
base64.encodeFromByteArray(byteArray: Uint8Array);
``