@esri/arcgis-hub-content-types

Mapping between ArcGIS Online Item Types and Hub Type Categories

Usage no npm install needed!

<script type="module">
  import esriArcgisHubContentTypes from 'https://cdn.skypack.dev/@esri/arcgis-hub-content-types';
</script>

README

Hub Content Category Mapping

This package serves as the single source of truth for the mapping between ArcGIS Online Item Types and ArcGIS Hub Content Categories

API

  • getCategory (itemType) => String: returns the category for a given item type
  • getTypes (category) => Array: returns all the item types in a given category