1NPM-PING(1) NPM-PING(1)
2
3
4
6 npm-ping - Ping npm registry
7
8 Synopsis
9 npm ping
10
11 Note: This command is unaware of workspaces.
12
13 Description
14 Ping the configured or given npm registry and verify authentication.
15 If it works it will output something like:
16
17 npm notice PING https://registry.npmjs.org/
18 npm notice PONG 255ms
19
20 otherwise you will get an error:
21
22 npm notice PING http://foo.com/
23 npm ERR! code E404
24 npm ERR! 404 Not Found - GET http://www.foo.com/-/ping?write=true
25
26 Configuration
27 registry
28 • Default: "https://registry.npmjs.org/"
29
30 • Type: URL
31
32
33 The base URL of the npm registry.
34
35 See Also
36 • npm help doctor
37
38 • npm help config
39
40 • npm help npmrc
41
42
43
44
45 September 2022 NPM-PING(1)