UNPKG

lbx-jwt

Version:

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

7 lines (6 loc) 198 B
/** * Converts the given milliseconds to seconds. * @param ms - The milliseconds to convert. * @returns The converted seconds. */ export declare function convertMsToSeconds(ms: number): number;