setup-node/node_modules/btoa-lite/btoa-node.js
2019-08-05 15:18:52 -04:00

3 lines
84 B
JavaScript

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