Amazon seems to have disabled their http download links and moved to https exclusively.
Therefore I replaced the http module with https and fixed the default download link.
Additionally I made the download URL configurable through an additional configureInstaller method.
Now users of the module can possibly fix broken links in the future in their own projects or set a regional or custom server if they want to.
They can also specify a custom installation path where the module will look for the DynamoDB-Local binaries or install them if needed, which allows e.g. installing them directly in the project directory instead of cluttering the system temp.
Both options together would even give you the theoretical ability to use different DynamoDB-Local versions for different projects at the same time.
Amazon seems to have disabled their http download links and moved to https exclusively. Therefore I replaced the http module with https and fixed the default download link.
Additionally I made the download URL configurable through an additional
configureInstaller
method. Now users of the module can possibly fix broken links in the future in their own projects or set a regional or custom server if they want to. They can also specify a custom installation path where the module will look for the DynamoDB-Local binaries or install them if needed, which allows e.g. installing them directly in the project directory instead of cluttering the system temp. Both options together would even give you the theoretical ability to use different DynamoDB-Local versions for different projects at the same time.I also added a
license
field to thepackage.json
, because according to https://docs.npmjs.com/files/package.json#license thelicenses
field you used is deprecated and no longer recognized bynpm
.