Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arcgis-lib-downloader

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arcgis-lib-downloader

npm package for gaining access to ArcGIS programs

  • 2.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
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 --product 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 --version 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 --product qt
-p, --product <product>Specify the product. Pass the product short name obtained from arcgis-lib-downloader --list-products.
-v, --version <version>Specify the version number that you would like to download, or leave blank to download the most recent version.
-t, --type <type>File type - see 'Types' column from --list-versions table (defaults to non-documentation file type)
--user <username>Your ArcGIS Online username. Required if not providing credentials via another method (see "Other options to provide credentials" below).
--password <password>Your ArcGIS Online password. Required if not providing credentials via another method.
-h, --helpSee the help documentation - available commands, etc.
-V, --VerOutput the tool version number. Note the capitalization difference between this option and the --ver option above.

Examples

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

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

Download the ArcGIS API for JavaScript v4.25 Documentation SDK:

arcgis-lib-downloader -p javascript -v 4.25 -t Documentation --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.

Development Quick Start

  1. Clone this repository
  2. npm install
  3. npm link

License

This tool was built by Esri Professional Services to help with Esri customer project workflows. You are welcome to use this tool but please see the LICENSE file for details on support, etc.

Questions

If you have questions or comments, please post them on the Esri Community - Developers area to get community support.

Keywords

FAQs

Package last updated on 18 May 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc