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