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