
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@arcgis/core
Advanced tools
ArcGIS API for JavaScript ES modules.
This version of the API is currently in development and is not intended for use in production applications.
This is a minified, unbuilt version of the ArcGIS API for JavaScript. You can install this repo via npm and then use the modules directly in a framework such as React, Vue.js or Angular. Or, you can also create your own custom builds with Webpack or rollup.js.
npm install @arcgis/core
The styles, images, fonts, and localization files are located in the @arcgis/core/assets
folder and will need to be copied to your build folder. There are various ways to accomplish this depending on your build tooling, below are several code snippets demonstrating the concept. Sample applications can be found here.
For React, use ncp
to copy the asset files to the build directory:
# package.json
{
"scripts": {
"start": "ncp ./node_modules/@arcgis/core/assets ./public/assets && react-scripts start",
"build": "ncp ./node_modules/@arcgis/core/assets ./public/assets && react-scripts build",
. . .
},
}
For Angular, configure copying asset files using the architect/build/options/assets
section of angular.json
# angular.json
{
"assets": [
{
"glob": "**/*",
"input": "node_modules/@arcgis/core/assets",
"output": "/assets/"
},
. . .
],
}
For other installations, consider using this package script as a starting point:
# package.json
{
"script": {
"copy": "cp -R ./node_modules/@arcgis/core/assets ./dist/assets"
}
}
Windows users can use xcopy
or ncp
for any platform.
Building apps with the ArcGIS API for JavaScript requires signing up for a ArcGIS Developer Subscription.
Report issues for @arcgis/core at https://github.com/Esri/feedback-js-api-next/issues/new/choose
COPYRIGHT © 2020 Esri
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
email: contracts@esri.com
See copyright.txt for details.
FAQs
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
The npm package @arcgis/core receives a total of 95,109 weekly downloads. As such, @arcgis/core popularity was classified as popular.
We found that @arcgis/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.