4 <meta http-equiv="content-type" value="text/html;utf-8">
5 <link rel="stylesheet" type="text/css" href="../../static/style.css">
9 <h1><a href="../cli/npm-repo.html">npm-repo</a></h1> <p>Open package repository page in the browser</p>
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
13 <pre><code>npm repo <pkgname></code></pre>
15 <h2 id="DESCRIPTION">DESCRIPTION</h2>
17 <p>This command tries to guess at the likely location of a package's
18 repository URL, and then tries to open it using the <code>--browser</code>
21 <h2 id="CONFIGURATION">CONFIGURATION</h2>
23 <h3 id="browser">browser</h3>
25 <ul><li>Default: OS X: <code>"open"</code>, Windows: <code>"start"</code>, Others: <code>"xdg-open"</code></li><li>Type: String</li></ul>
27 <p>The browser that is called by the <code>npm repo</code> command to open websites.</p>
29 <h2 id="SEE-ALSO">SEE ALSO</h2>
31 <ul><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li></ul>
33 <p id="footer">repo — npm@1.3.15</p>
36 var wrapper = document.getElementById("wrapper")
37 var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0)
38 .filter(function (el) {
39 return el.parentNode === wrapper
40 && el.tagName.match(/H[1-6]/)
44 , toc = document.createElement("ul")
45 toc.innerHTML = els.map(function (el) {
46 var i = el.tagName.charAt(1)
56 out += "<li><a href='#" + el.id + "'>" +
57 ( el.innerText || el.text || el.innerHTML)
62 document.body.appendChild(toc)