lbx-jwt
Version:
Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.
13 lines • 413 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertMsToSeconds = void 0;
/**
* Converts the given milliseconds to seconds.
* @param ms - The milliseconds to convert.
* @returns The converted seconds.
*/
function convertMsToSeconds(ms) {
return ms / 1000;
}
exports.convertMsToSeconds = convertMsToSeconds;
//# sourceMappingURL=convert-ms-to-seconds.function.js.map