Base64 encode or decode in JavaScript Back
Browse Context:
btoa('test'); // => "dGVzdA==" atob('dGVzdA=='); // => "test"
NodeJS Context:
Buffer.from('test').toString('base64'); // => "dGVzdA==" `${Buffer.from('dGVzdA==', 'base64')}`; // => "test"
Browse Context:
btoa('test'); // => "dGVzdA=="
atob('dGVzdA=='); // => "test"
NodeJS Context:
Buffer.from('test').toString('base64'); // => "dGVzdA=="
`${Buffer.from('dGVzdA==', 'base64')}`; // => "test"
As the plugin is integrated with a code management system like GitLab or GitHub, you may have to auth with your account before leaving comments around this article.
Notice: This plugin has used Cookie to store your token with an expiration.