Ping npm registry.
npm ping [--registry <registry>]
Ping the configured or given npm registry and verify authentication. If it works it will output something like:
Ping success: {*Details about registry*}
otherwise you will get:
Ping error: {*Detail about error}
© npm, Inc. and Contributors
Licensed under the npm License.
npm is a trademark of npm, Inc.
https://docs.npmjs.com/cli/ping