Function loadModule

  • Create and load an Earth Engine module from an entry path.

    Returns

    A promise that resolves to a loaded module.

    Parameters

    • entry: string

      The path to the entry Earth Engine module, e.g. "users/username/repository:module".

    • Optional options: { allowCircular: undefined | boolean; loadDependencies: undefined | boolean; showProgress: undefined | boolean } = {}
      • allowCircular: undefined | boolean

        If true, circular import errors will be ignored when loading dependencies.

      • loadDependencies: undefined | boolean

        If true, all downstream modules will be loaded and stored in the dependencies property of the loaded module.

      • showProgress: undefined | boolean

        If true, progress spinners will be when when cloning repositories.

    Returns Promise<Module>

Generated using TypeDoc