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