Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sindresorhus/npm-home
- Owner: sindresorhus
- License: mit
- Created: 2016-01-12T17:34:21.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T18:28:26.000Z (5 months ago)
- Last Synced: 2024-11-30T18:29:46.879Z (13 days ago)
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 198
- Watchers: 5
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-npm - npm-home - Open the npm page of a package. (Packages / Other)
- awesome-nodejs-cn - npm-home - 打开一个包的 npm 主页 (包 / 命令行程序)
- awesome-nodejs - npm-home - Open the npm page of a package. ![](https://img.shields.io/github/stars/sindresorhus/npm-home.svg?style=social&label=Star) (Repository / NPM)
- awesome-cli-apps - npm-home - Open the npm page of the package in the current directory. (Development / Npm)
- awesome-nodejs-cn - npm-home - **star:198** 打开 npm 包的页面 (包 / 命令行程序)
- awesome-npm - npm-home - Open the npm page of a package. (Packages / Other)
- awesome-nodejs - npm-home - Open the npm page of a package. (Packages / Command-line apps)
- fucking-awesome-cli-apps - npm-home - Open the npm page of the package in the current directory. (Development / Npm)
- awesome-nodejs - npm-home - Open the npm page, Yarn page, or GitHub repo of a package - ★ 135 (Command-line apps)
- awesome-nodejs-cn - npm-home - 打开软件包的npm页面. (目录 / 命令行应用)
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 --helpUsage
$ npm-home [name] […]
$ nh [name] […]Options
--github -g Open the GitHub repo of the package
--yarn -y Open the Yarn homepage of the packageExamples
$ 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