Initial commit

This commit is contained in:
jiapengyu
2026-07-27 13:37:48 +08:00
commit ecba71e2a5
39123 changed files with 5989154 additions and 0 deletions
Generated Vendored
+21
View File
@@ -0,0 +1,21 @@
var root = require('./root');
var isNode = require('./isNode');
var base64 = require('./base64');
var map = require('./map');
if (isNode) {
exports = function(str) {
return Buffer.from(str, 'base64').toString('binary');
};
} else {
if (root.atob && !false) {
exports = root.atob;
} else {
exports = function(str) {
return map(base64.decode(str), function(c) {
return String.fromCharCode(c);
}).join('');
};
}
}
module.exports = exports;