summaryrefslogtreecommitdiff
path: root/deps/npm/html/partial/doc/api/npm-ping.html
blob: ac8a29e185c66bd57f8bde0d8c54d8b2f46eb9d6 (plain)
1
2
3
4
5
6
7
8
<h1><a href="../api/npm-ping.html">npm-ping</a></h1> <p>Ping npm registry</p>
<h2 id="synopsis">SYNOPSIS</h2>
<pre><code>npm.registry.ping(registry, options, function (er, pong))
</code></pre><h2 id="description">DESCRIPTION</h2>
<p>Attempts to connect to the given registry, returning a <code>pong</code>
object with various metadata if it succeeds.</p>
<p>This function is primarily useful for debugging connection issues
to npm registries.</p>