btoa is not giving error in console code example Example: nodejs btoa Buffer.from('Hello world!', 'binary').toString('base64')