const data = 'CodezUp';
console.log('---ORIGINAL-----', data)
// Encode String
const encode = Buffer.from(data).toString('base64')
console.log('
---ENCODED-----', encode)
// Decode String
const decode = Buffer.from(encode, 'base64').toString('utf-8')
console.log('
---DECODED-----', decode)