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

Download ArcGIS developer libraries from the terminal

Installation

npm install arcgis-lib-downloader

Quick Start

To download a library:

  1. Install the library: npm install arcgis-lib-downloader
  2. See the available products with arcgis-lib-downloader --list-products
  3. Take a product Key from the previous step (for example, qt) and see the versions: arcgis-lib-downloader --list-versions qt
  4. Take a product Version from the previous step (for example, 100.11.2) and download that version of the library: arcgis-lib-downloader --product qt --ver 100.11.2

Options

OptionDescription
--list-productsLists the different products available for download and other information about them.
--list-versionsList more detailed information about the versions available for a product. Pass in the short name of the product. For example, arcgis-lib-downloader --list-versions qt
-p, --productDownload a library. See "product download options" section below for additional options available when using this option.
-h, --helpSee the help documentation - available commands, etc.

Product download options

These options are available when downloading (using the --product option).

OptionDescription
-v, --verSpecify the version number that you would like to download, or leave blank to download the most recent version.
--userYour ArcGIS Online username. Required if not providing credentials via another method (see "Other options to provide credentials" below).
--passwordYour ArcGIS Online password. Required if not providing credentials via another method.

Examples

Download the ArcGIS API for JavaScript v4.19, passing a username and password:

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

Other options to provide credentials

To utilize environment variables as a method of authenticating your ArcGIS Online credentials:

  1. Create a .env file in the same directory that you are working with the ArcGIS Lib Downloader.
  2. On the first line of the .env file, type in: ARCGIS_LIB_DOWNLOADER_USERNAME = insert YOUR username here
  3. On the second line of the .env file, type in: ARCGIS_LIB_DOWNLOADER_PASSWORD = insert YOUR password here
  4. Now when you run the lib downloader, it is not necessary to enter your credentials using the --user and --password switches.

Contributing

This project was created using Node.js. If you wish to contribute and suggest changes to enhance the performance of the lib downloader, first make sure that you have Node and npm installed on your machine. Next, you are either going to need to clone this repository and create a local version on your machine or create a Pull Request that can be reviewed by one of the contributors of this repository.

Keywords

FAQs

Last updated on 27 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