@socketsecurity/lib
Version:
Core utilities and infrastructure for Socket.dev security tools
12 lines (11 loc) • 434 B
TypeScript
/**
* Time-related constants including cache TTLs and timeouts.
*/
// Time unit multipliers (milliseconds).
export declare const MILLISECONDS_PER_SECOND = 1000;
export declare const MILLISECONDS_PER_MINUTE: number;
export declare const MILLISECONDS_PER_HOUR: number;
export declare const MILLISECONDS_PER_DAY: number;
// Cache TTL values.
// DLX binary cache expires after 7 days.
export declare const DLX_BINARY_CACHE_TTL: number;