Consumes all 401 Unauthorized errors and reports them as AUTHENTICATION_INVALID
.
It doesn't handle 403 Forbidden, as the npm registry uses it when the user attempts a prohibited action, such as publishing a package with a similar name to an existing package.
It doesn't handle 403 Forbidden, as the npm registry uses it when the user attempts a prohibited action, such as publishing a package with a similar name to an existing package.
Generated using TypeDoc
@yarnpkg/plugin-npm
This plugin adds support for downloading packages from the npm registry.
Install
This plugin is included by default in Yarn.