node/deps/npm/docs/content/commands/npm-ping.md
npm team 248f4c3764 deps: upgrade npm to 7.21.0
PR-URL: https://github.com/nodejs/node/pull/39813
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2021-08-20 14:53:49 +02:00

972 B

title section description
npm-ping 1 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