add API setup

This commit is contained in:
Sem
2023-05-25 09:27:21 +00:00
parent d180392666
commit db3fde448a
693 changed files with 105277 additions and 1 deletions

15
api/node_modules/async/internal/onlyOnce.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = onlyOnce;
function onlyOnce(fn) {
return function (...args) {
if (fn === null) throw new Error("Callback was already called.");
var callFn = fn;
fn = null;
callFn.apply(this, args);
};
}
module.exports = exports["default"];