UNPKG

yapm

Version:

package manager for io.js (npm fork)

77 lines (69 loc) 5.24 kB
<!doctype html> <html> <title>README</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/README.html"> <script async=true src="../../static/toc.js"></script> <body> <div id="wrapper"> <p>&quot;yapm&quot; is a package manager for node.js (npm fork)</p> <p><img src="https://raw.github.com/rlidwka/yapm/master/changes/images/main.png" alt="screenshot"></p> <h2 id="changes">Changes</h2> <ul> <li><p>improvements in package.json handling:</p> <ul> <li>preserve formatting of package.json files</li> <li>support for package.json5 and package.yaml files (<a href="https://github.com/rlidwka/yapm/blob/master/changes/package-yaml.md">docs</a>, <a href="https://github.com/isaacs/npm/issues/3336">#3336</a>, <a href="https://github.com/npm/npm/issues/4482">#4482</a>).</li> <li>if package.json or any other json document is malformed, show where the error is (<a href="https://github.com/npm/npm/issues/3869">#3869</a>).</li> </ul> </li> <li><p>formatting changes:</p> <ul> <li>logs have much more clean formatting</li> <li>added a progress bar showing download progress (<a href="https://github.com/npm/npm/issues/4587">#1257</a>)</li> <li>better search output with github repository links</li> </ul> </li> <li><p>multiple registries support</p> <ul> <li>registry-specific configs + security fixes</li> <li>easier switch between different npm registries</li> </ul> </li> <li><p>semver support for packages installable from github (<a href="https://github.com/rlidwka/yapm/blob/master/changes/github-semver.md">docs</a>, <a href="https://github.com/npm/npm/issues/3014">#3014</a>, <a href="https://github.com/npm/npm/issues/3328">#3328</a>, <a href="https://github.com/npm/npm/issues/3442">#3442</a>, <a href="https://github.com/npm/npm/issues/3511">#3511</a>, <a href="https://github.com/npm/npm/issues/4527">#4527</a>).</p> </li> <li><p>a bunch of other minor changes (<a href="https://github.com/rlidwka/yapm/blob/master/changes/minor-fixes.md">docs</a>, <a href="https://github.com/npm/npm/issues/4573">#4573</a>).</p> </li> </ul> <h2 id="installation">Installation</h2> <pre><code class="lang-sh"># install it as a global module (maybe with sudo) $ npm install -g yapm # run it just as you&#39;d run npm itself $ yapm install whatever # if you want to write &#39;npm&#39; and hate the name change, # you might want to use an alias (i.e. write into ~/.bashrc) $ alias npm=yapm </code></pre> <h2 id="upstreams">Upstreams</h2> <h3 id="pulled-from-visionmedia-npm-https-github-com-visionmedia-npm-">Pulled from <a href="https://github.com/visionmedia/npm">visionmedia/npm</a></h3> <ul> <li>Github semver support</li> <li>Output formatting changes</li> <li>Better search output</li> </ul> <h3 id="pulled-from-npm-https-github-com-npm-">Pulled from <a href="https://github.com/npm/npm">npm/npm</a></h3> <ul> <li>Everything else, this repository is synced with upstream at least once a week</li> </ul> </div> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18>&nbsp;</td></tr> <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td colspan=6 style="width:60px;height:10px;background:#fff">&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td></tr> <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2>&nbsp;</td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td></tr> <tr><td style="width:10px;height:10px;background:#fff" rowspan=2>&nbsp;</td></tr> <tr><td style="width:10px;height:10px;background:#fff">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> </table> <p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@2.4.2</p>