Function downloadFile

  • Download a file to a filepath.

    Parameters

    • options: {
          filepath: string;
          url: string;
      }
      • filepath: string
      • url: string

    Returns Promise<undefined | Error>

    A promise that resolves to undefined if successful, and RESOLVES to an Error if not successful.

Generated using TypeDoc