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


Keywords
cli-app, cli, npm, package, page, home, open, cwd, current, directory, github, gh, repo, repository, yarn
License
MIT
Install
npm install npm-home@4.0.0

Documentation

npm-home

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
    $ npm-home execa ava -y

Related

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