Convert ArrayBuffer to Base64 string and vice versa
npm install ab2b64bash
npm install ab2b64
``Usage
`javascript
const ab2b64 = require("ab2b64");
//Converting Array Buffer to Base64 String - Synchronous method
let Base64String = ab2b64.ab2b64(buffer);
//Converting Base64 String to Array Buffer - Synchronous method
let buffer = ab2b64.b642ab(Base64String);
//Converting Array Buffer to Base64 String - Asynchronous method
let Base64String = await ab2b64.ab2b64Async(buffer);
//Converting Base64 String to Array Buffer - Asynchronous method
let buffer = await ab2b64.b642abAsync(Base64String);
``#### Q: Why not just use the Base64 conversion feature in more established library, like Crypto-JS?
A: As of the writing of this library, I can't find one on NPM that converts Array Buffer to Base64. Crypto-JS
converts specialized 'Word Array', not Array Buffer.
#### Q: Your library is garbage! I don't like it!
A: Then you open PR and improve it! Or don't use it! Nobody is begging you here...
Look, I get it. This library isn't super optimized. It is optimized enough for
my project, and I published this on NPM so others may take advantage of my works.
I know some people (like those working in G-Company)
love writing highly optimized but long and cryptic codes without documentation.
I prefer codes that can be easily
and quickly understood by teammate of different experience levels so they can contribute quickly.