mirror of
https://github.com/actions/setup-node
synced 2024-11-30 21:22:29 +08:00
4 lines
84 B
JavaScript
4 lines
84 B
JavaScript
|
module.exports = function btoa(str) {
|
||
|
return new Buffer(str).toString('base64')
|
||
|
}
|