Socket
Socket
Sign inDemoInstall

arcgis-lib-downloader

Package Overview
Dependencies
63
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    arcgis-lib-downloader

npm package for gaining access to ArcGIS programs


Version published
Maintainers
1
Created

Readme

Source

ArcGIS Lib Downloader

npm package for gaining access to ArcGIS products

Installation

npm install arcgis-lib-downloader

Options

arcgis-lib-downloader supports 3 options:

  • --list-products: lists different products available as well as various information about them
  • --list-versions: lists more detailed information about different versions available for each product
  • -p, --product: download product of your choice

The following list contains the keywords that can be used to download each product: android (ArcGIS Runtime SDK for Android), ios (ArcGIS Runtime SDK for iOS), java (ArcGIS Runtime SDK for Java), javascript (ArcGIS API for JavaScript), local-server (ArcGIS Runtime Local Server SDK), macos (ArcGIS Runtime SDK for macOS), net (ArcGIS Runtime SDK for .NET), qt (ArcGIS Runtime SDK for Qt), enterprise-sdk (ArcGIS Enterprise SDK), arcgis-experience-builder (ArcGIS Experience Builder), web-appbuilder (ArcGIS Web AppBuilder), wpf (ArcGIS Runtime SDK for WPF)

The following options are optional to use with the product download feature:

  • -v, --ver: specify the version number that you would like to download, or leave blank to download the most recent version

  • --user: enter your ArcGIS Online username into the command line directly

  • --password: enter your ArcGIS Online password into the command line directly

For the --user and --password commands, you may enter them into the command line following the product and version commands that you have specified. If you choose not to enter them though, you will be prompted for them in another format, so it is not completely necessary to enter them into the CLI at the start.

An example of a fully formatted entry could be:

arcgis-lib-downloader -p javascript -v 4.19 --user abc123 --password def456

To get additional help in the CLI:

  • -h: list the available commands that users can enter into the command line directly in the CLI

Usage

The option for listing out the products can be used by executing the following operations:

  • install arcgis-lib-downloader
  • enter 'arcgis-lib-downloader --list-products' into the command line Once these two things are done, a table will display with all of the relevant information about each product.

The option for listing out the versions can be used by executing the following operations:

  • install arcgis-lib-downloader
  • enter 'arcgis-lib-downloader --list-versions' into the command line Once these two things are done, a table will display with all of the relevant information about each version of each product.

The option for downloading products can be used by executing the following operations:

  • install arcgis-lib-downloader
  • enter 'arcgis-lib-downloader -p' or 'arcgis-lib-downloader --product' into the command line followed by the product you want to download. You can also specify which vertison of said product you would like to download by entering '-v' or '--ver' after the product on the same command line entry, or you can leave it blank to download the most recent version available. Additionally, users can pass in their ArcGIS Online username and password directly into the command line using the '--user' and '--password' commands, or they can omit these and be prompted for them at a later point.

Packages Used

  • @esri/arcgis-rest-auth.js
  • @esri/arcgis-rest-request.js
  • Commander.js
  • cross-fetch.js
  • dotenv.js
  • fs.js
  • isomorphic-form-data.js
  • prompt.js
  • table.js
  • yargs.js

Keywords

FAQs

Last updated on 22 Jul 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc