@esri/arcgis-rest-demographics

Demographics data helpers for ArcGIS REST JS.

Install

Use dark colors for code blocksCopy
 
1
npm install @esri/arcgis-rest-demographics

Import

@esri/arcgis-rest-demographics is distributed as both ES Modules and Common JS modules.

Use dark colors for code blocksCopy
 
1
import * as demographicsTools from "@esri/arcgis-rest-demographics"
Use dark colors for code blocksCopy
 
1
const demographicsTools = require("@esri/arcgis-rest-demographics");

CDN

You can use @esri/arcgis-rest-demographics as an ES Module from the Skypack CDN.

Use dark colors for code blocksCopy
   
1
2
3
<script type="module">
  import * as demographicsTools from "https://cdn.skypack.dev/@esri/arcgis-rest-demographics@3.5.1";
</script>

You can also use @esri/arcgis-rest-demographics from a script tag. All exports will be added to a global arcgisRest object.

Use dark colors for code blocksCopy
    
1
2
3
4
<script
  src="https://unpkg.com/@esri/arcgis-rest-demographics@3.5.1/dist/umd/geocoding.umd.js"
  integrity="sha512-aMloi62O4eFleynwvUkvUmV0e8AUbCUEkramYRgzMapZw4/JABD5UEe3n0bBBvFwgQgjFrU9+4/cpA3hPVtQhg==">
</script>

Exports

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.