Initial commit: TenderPilot MVP

This commit is contained in:
Peter Foster
2026-02-14 07:43:48 +00:00
commit 61593ea94e
1534 changed files with 202152 additions and 0 deletions

18
node_modules/jsonwebtoken/lib/timespan.js generated vendored Executable file
View File

@@ -0,0 +1,18 @@
var ms = require('ms');
module.exports = function (time, iat) {
var timestamp = iat || Math.floor(Date.now() / 1000);
if (typeof time === 'string') {
var milliseconds = ms(time);
if (typeof milliseconds === 'undefined') {
return;
}
return Math.floor(timestamp + milliseconds / 1000);
} else if (typeof time === 'number') {
return timestamp + time;
} else {
return;
}
};