Init. Map does not function and only working on backend at the moment.

This commit is contained in:
eetnaviation
2024-03-15 22:15:20 +02:00
commit d521b9db0c
1488 changed files with 252767 additions and 0 deletions

19
node_modules/sleep/index.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
var sleep = require('./build/Release/node_sleep.node');
sleep.sleep = function(seconds) {
if (seconds < 0 || seconds % 1 != 0) {
throw new Error('Expected number of seconds');
}
sleep.usleep(seconds * 1000000);
}
sleep.msleep = function(miliseconds) {
if (miliseconds < 0 || miliseconds % 1 != 0) {
throw new Error('Expected number of miliseconds');
}
sleep.usleep(miliseconds * 1000);
}
module.exports = sleep;