UNPKG

@catbee/utils

Version:

A modular, production-grade utility toolkit for Node.js and TypeScript, designed for robust, scalable applications (including Express-based services). All utilities are tree-shakable and can be imported independently.

34 lines 881 B
type LogLevel = "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent"; /** * Application runtime configuration loaded from environment variables. */ export declare const Config: { Logger: { /** * Logging level (e.g., 'info', 'debug', 'warn', 'error'). */ level: LogLevel; /** * Name of the logger instance (defaults to npm package name). */ name: string | undefined; /** * Whether to use ISO 8601 timestamps in logs. */ isoTimestamp: boolean; }; Http: { /** * Timeout for HTTP requests in milliseconds */ timeout: number; }; Cache: { /** * Default TTL (time to live) for cache entries in seconds */ defaultTtl: number; }; }; export {}; //# sourceMappingURL=config.d.ts.map