opencage-api-client
opencage-api-client copied to clipboard
prevent error in browser when api key is not set
With the new version passing the parameters (ie, not controlling a mandatory API key parameter) the behaviour is to read the environment variable. in a browser process.env is not defined and raise an error