Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sindresorhus/npm-home

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

Last synced: 5 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# npm-home

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

## Install

```sh
npm install --global npm-home
```

## Usage

```sh
$ 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](https://github.com/sindresorhus/gh-home) - Open the GitHub page of the given or current directory repo