Answers for "node js what is atob"

2

nodejs atob

// If you need to convert to Base64 you could do so using Buffer:
console.log(Buffer.from('Hello World!').toString('base64'));
// Reverse (assuming the content you're decoding is a utf8 string):
console.log(Buffer.from(b64Encoded, 'base64').toString());
Posted by: Guest on April-03-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language