first commit

This commit is contained in:
2026-09-08 20:28:54 +08:00
commit 2ada8d3d5a
37380 changed files with 4886169 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;