Open the npm page, Yarn page, or GitHub repo of a package
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.npmrc
.travis.yml
cli.js
license
package.json
readme.md
test.js

readme.md

npm-home Build Status

Open the npm page, Yarn page, or GitHub repo of a package

Install

$ npm install --global npm-home

Usage

$ npm-home --help

  Usage
    $ npm-home [name]
    $ nh [name]

  Options
    --github -g  Open the GitHub repo of the package
    --yarn -y    Open the Yarn homepage of the package

  Examples
    $ npm-home
    $ npm-home chalk -g

Related

  • gh-home - Open the GitHub page of the given or current directory repo

License

MIT © Sindre Sorhus