3 lines
94 B
JavaScript
3 lines
94 B
JavaScript
const btoa = str => new Buffer.from(str, 'binary').toString('base64');
|
|
module.exports = btoa;
|