This is a script to generate siteData.json. The script is similar to the one currently in esri-leaflet-doc: https://github.com/Esri/esri-leaflet-doc/blob/master/data/integrity.js. It is slightly different than that one though: instead of relying on the packages being installed via NPM, it makes the requests to find the "latest version" from NPM.
The format of the siteData.json is also slightly updated to be more consistent. (see old vs new).
This is a script to generate
siteData.json
. The script is similar to the one currently in esri-leaflet-doc: https://github.com/Esri/esri-leaflet-doc/blob/master/data/integrity.js. It is slightly different than that one though: instead of relying on the packages being installed via NPM, it makes the requests to find the "latest version" from NPM.The format of the
siteData.json
is also slightly updated to be more consistent. (see old vs new).