kernel

AMD: require(["esri/kernel"], (esriNS) => { /* code goes here */ });
ESM: import * as esriNS from "@arcgis/core/kernel.js";
Object: esri/kernel
Since: ArcGIS Maps SDK for JavaScript 4.0

Utility for retrieving the current version of the API.

Property Overview

Name Type Summary Object

Current full version of the ArcGIS Maps SDK for JavaScript.

kernel

Current major.minor version of the ArcGIS Maps SDK for JavaScript.

kernel

Property Details

fullVersion

Property
fullVersion Stringstatic,readonly
Since: ArcGIS Maps SDK for JavaScript 4.27 kernel since 4.0, fullVersion added at 4.27.

Current full version of the ArcGIS Maps SDK for JavaScript. This is the same as version on CDN builds and is the same as the package version on NPM builds.

require([
  "esri/kernel"
], function(esriNS) {
  console.log(esriNS.fullVersion); // e.g. "4.30", "4.30.0" or "4.30.0-next.20240430"
});

version

Property
version Stringstatic,readonly

Current major.minor version of the ArcGIS Maps SDK for JavaScript.

require([
  "esri/kernel"
], function(esriNS) {
  console.log(esriNS.version); // e.g. "4.30"
});

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