10 lines
146 B
JavaScript
10 lines
146 B
JavaScript
|
(function () {
|
||
|
"use strict";
|
||
|
|
||
|
function btoa(str) {
|
||
|
return new Buffer(str, 'utf8').toString('base64');
|
||
|
}
|
||
|
|
||
|
module.exports = btoa;
|
||
|
}());
|