Get Started
ArcGIS REST JS can be deployed with a variety of build tools, including:
Requirements
ArcGIS REST JS takes advantage of web standards that are supported in all modern desktop browsers and most mobile browsers.
Browser Support
ArcGIS REST JS is supported in the same browsers as the ArcGIS API for JavaScript.
- Chrome
- Edge
- Firefox
- Safari 9 and later
- iOS Safari
- IE11
IE11 and older mobile browsers require polyfills.
Node.js Support
ArcGIS REST JS is supported in Node.js 8.x and above. It requires additional packages to polyfill Fetch
and FormData
.
We recommend the ones below:
node-fetch
- to polyfillFetch
isomorphic-form-data
- to polyfillFormData
const fetch = require('node-fetch');
const { setDefaultRequestOptions, request } = require('@esri/arcgis-rest-request');
// use node-fetch for each request instead of relying on a global
setDefaultRequestOptions({ fetch })
request(url)
.then(response)
Other versions of Node.js may also work with appropriate polyfills but we cannot guarantee support.