Trying to use
packman npm download package $PACKAGE_NAME $PACKAGE_VERSION --registry $REGISTRY_URL --lenient-ssl
For npm install, to disable strict ssl we can invoke the command
npm config set strict-ssl false
So i am not sure if the --lenient-ssl feature flag is broken or not used in your packman package, as I am not able to download npm packages from my private registry (nexus repo), due to ssl issues