4 lines
84 B
JavaScript
4 lines
84 B
JavaScript
module.exports = function btoa(str) {
|
|
return new Buffer(str).toString('base64')
|
|
}
|