Version 3.4.3

@esri/arcgis-rest-routing

Routing helpers for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-routing @esri/arcgis-rest-auth@^3.0.0  @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  closestFacility,
  decompressGeometry,
  isFeatureSet,
  normalizeLocationsList,
  originDestinationMatrix,
  serviceArea,
  solveRoute,
} from "@esri/arcgis-rest-routing";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.4.3/dist/umd/routing.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.4.3/dist/umd/routing.umd.min.js" integrity="sha384-9aAt52eLJT6Jlr6KJmBinAdxEwwdnkVp6HO1rlLlBFMOWv+q74c1UcauBzcYjjsG" crossorigin="anonymous"></script>