const atob = b64 => Buffer.from(b64, 'base64').toString('binary');
const btoa = text => Buffer.from(text, 'binary').toString('base64');
Created
January 17, 2020 20:35
-
-
Save dotspencer/c9ff4137067e75de8fc1574df49b8f7e to your computer and use it in GitHub Desktop.
Node atob and btoa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment