Options for downloadNPMPackage.
Remove old files before exporting.
Use HTTP requests instead of the npm command to get the version.
npm
Download only if the version changed: a version string, true to check the version stored in the target directory, or the previous download result.
true
Log commands.
Package name.
Package tag.
Target directory.