wishthis/node_modules/btoa-lite/btoa-node.js
2022-01-21 09:28:41 +01:00

3 lines
84 B
JavaScript

module.exports = function btoa(str) {
return new Buffer(str).toString('base64')
}