node-cooper-fastify - v0.2.0
    Preparing search index...

    Interface ConfigReader

    What fastify.config is: cooper-config's readers.

    interface ConfigReader {
        all(): Readonly<Record<string, any>>;
        get<T = any>(path: KeyPath, fallback?: T): T;
        has(path: KeyPath): boolean;
        require<T = any>(path: KeyPath): T;
    }
    Index
    • The whole configuration, deep-frozen.

      Returns Readonly<Record<string, any>>