GitHub - sindresorhus/npm-home: Open the npm page, Yarn page, or GitHub repo of a package

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

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

License

MIT license

201 stars 9 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

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