Optional
baseThe basePath to use for all requests
'/downloads'
Optional
customOptions for customizing the services used by the API client. This is useful for testing as it allows you to mock the services.
Optional
requestThe request service which is used to make requests to the API endpoint
new RequestService()
Optional
hostname?: stringThe hostname to use for all requests
'api.npmjs.org'
Optional
protocol?: "http" | "https"The protocol to use for all requests
'https'
Generated using TypeDoc
The configuration options for the NpmRegistryClient