Closed davideicardi closed 7 years ago
Npm registry that require authentication need to pass the params object to the npm-registry-client. Params should be:
params
npm-registry-client
{ auth: { alwaysAuth: true, token: "your-token" } }
Provide a way to pass this, maybe using the npm config already available?
Under the hood it just add an header: headers.authorization = 'Bearer ' + credentials.token
Npm registry that require authentication need to pass the
params
object to thenpm-registry-client
. Params should be:Provide a way to pass this, maybe using the npm config already available?
Under the hood it just add an header: headers.authorization = 'Bearer ' + credentials.token