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

    Variable getConst

    get: (path: KeyPath, fallback?: unknown) => any = api.get

    Type Declaration

      • (path: KeyPath, fallback?: unknown): any
      • The value at path, or fallback when there is none. A present nil is null, not missing.

        Parameters

        • path: KeyPath

          'database.pool.size', or ['dotted.key', 'inner'] for a key holding a dot

        • Optionalfallback: unknown

          answered when nothing is at path (default undefined)

        Returns any

        the value, deep-frozen

        before load()

        for a malformed path