W3cubDocs

/npm

npm-ping

Ping npm registry

Synopsis

npm ping [--registry <registry>]

Note: This command is unaware of workspaces.

Description

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}

Configuration

registry

The base URL of the npm registry.

See Also

© npm, Inc. and Contributors
Licensed under the npm License.
npm is a trademark of npm, Inc.
https://docs.npmjs.com/cli/v8/commands/npm-ping