Version 8.22.0

@esri/hub-downloads

Service for Hub downloads

npm install:

npm install @esri/hub-downloads @esri/hub-common@^8.0.0 

Module Import:

import {
  pollDownloadMetadata,
  requestDatasetExport,
  requestDownloadMetadata,
} from "@esri/hub-downloads";

CDN:

<script src="https://unpkg.com/@esri/hub-downloads@8.22.0/dist/umd/downloads.umd.min.js"></script>

CDN with SRI: