snipt

Ctrl+h for KB shortcuts

Bash

List all npm versions for a package

npm view [<@scope>/]<package> time
https://snipt.net/embed/d170797a6d229963bc80c47573a7de66/
/raw/d170797a6d229963bc80c47573a7de66/
d170797a6d229963bc80c47573a7de66
bash
Bash
1
2019-08-18T22:10:32
True
False
False
/api/public/snipt/147548/
list-all-npm-versions-for-a-package
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>npm view <span class="o">[</span>&lt;@scope&gt;/<span class="o">]</span>&lt;package&gt; <span class="nb">time</span> </span></pre></div> </td></tr></table>
javascript, node.js, npm
1
2
3
4
--- 
+++ 
@@ -0,0 +1 @@
+npm view [<@scope>/]<package> time