npm-ping.md 972 B


title: npm-ping section: 1

description: 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