UNPKG

lbx-jwt

Version:

Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.

8 lines 214 B
/** * Converts the given milliseconds to seconds. * @param ms - The milliseconds to convert. * @returns The converted seconds. */ export function convertMsToSeconds(ms: number): number { return ms / 1000; }