Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

npm-ping (1)

Name

npm-ping - Ping npm registry Synopsis npm ping 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: npm notice PING https://registry.npmjs.org/ npm notice PONG 255ms otherwise you will get an error: npm notice PING http://foo.com/ npm ERR! code E404 npm ERR! 404 Not Found - GET http://www.foo.com/-/ping?write=true Configuration registry o Default: "https://registry.npmjs.org/" o Type: URL The base URL of the npm registry. See Also o npm help doctor o npm help config o npm help npmrc

Synopsis

Please see following description for synopsis

Description

NPM-PING(1)                                                        NPM-PING(1)



NAME
       npm-ping - Ping npm registry

   Synopsis
         npm ping

       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:

         npm notice PING https://registry.npmjs.org/
         npm notice PONG 255ms

       otherwise you will get an error:

         npm notice PING http://foo.com/
         npm ERR! code E404
         npm ERR! 404 Not Found - GET http://www.foo.com/-/ping?write=true

   Configuration
   registry
       o Default: "https://registry.npmjs.org/"

       o Type: URL


       The base URL of the npm registry.

   See Also
       o npm help doctor

       o npm help config

       o npm help npmrc




ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | runtime/nodejs/nodejs-18 |
       +---------------+--------------------------+
       |Stability      | Pass-thru volatile       |
       +---------------+--------------------------+

NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source   was   downloaded   from     https://github.com/nodejs/node/ar-
       chive/v18.1.0.zip.

       Further information about this software can be found on the open source
       community website at https://github.com/nodejs/node.



                                  April 2022                       NPM-PING(1)