Allowing Either Cloudflare_CA.pem or regular for NPM

I set up all my certificates using the instructions provided here:

https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/user-side-certificates/install-cloudflare-cert/#add-the-certificate-to-applications

However, during the deployment and under special circumstances (i.e. when the user just does not want Cloudflare doing its thing) I’d like for NPM to be able to function with the Cloudflare_CA.pem cafile defined in the npm config. Is there anyway I can set it up so that NPM tries to use Cloudflare’s network and then falls back to regular trusty downloading w/o CF middle manning the operation?