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

    Class CooperConfig

    cooper-config's four readers, as a provider: for an application that reads without @nestjs/config, or wants require and has, which ConfigService does not have.

    Index
    • The whole configuration, deep-frozen.

      Returns Readonly<Record<string, any>>

    • The value at path, or fallback when there is none.

      Parameters

      • path: KeyPath
      • Optionalfallback: unknown

      Returns any

      the value, deep-frozen

    • The value at path, which must be there.

      Parameters

      Returns any

      the value, deep-frozen

      naming path when nothing is there