setup-node/node_modules/btoa-lite/btoa-node.js

4 lines
84 B
JavaScript
Raw Permalink Normal View History

2019-08-06 18:29:44 -04:00
module.exports = function btoa(str) {
return new Buffer(str).toString('base64')
}