first commit

This commit is contained in:
pakerpale
2020-06-10 06:09:28 +09:00
commit 0816dc4957
3295 changed files with 413027 additions and 0 deletions

26
node_modules/asynckit/lib/defer.js generated vendored Executable file
View File

@@ -0,0 +1,26 @@
module.exports = defer;
/**
* Runs provided function on next iteration of the event loop
*
* @param {function} fn - function to run
*/
function defer(fn)
{
var nextTick = typeof setImmediate == 'function'
? setImmediate
: (
typeof process == 'object' && typeof process.nextTick == 'function'
? process.nextTick
: null
);
if (nextTick)
{
nextTick(fn);
}
else
{
setTimeout(fn, 0);
}
}