Backstage
    Preparing search index...

    A collection of utilities for working with and creating ConfigSources.

    Index
    • Creates an observable @backstage/config#Config implementation from a ConfigSource.

      Parameters

      Returns Promise<ClosableConfig>

      A promise that resolves to a closable config

      If you only want to read the config once you can close the returned config immediately.

      const sources = ConfigSources.default(...)
      const config = await ConfigSources.toConfig(source)
      config.close()
      const example = config.getString(...)