1.0.2 • Published 7 years ago

ghub-cli v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

ghub-cli

Redirect to a npm package's GitHub page from your terminal, if available

usage

recommended for use with npx

> npx ghub-cli express
The GitHub url for express is https://github.com/expressjs/express
Opening in browser...

> npx ghub-cli --help
Usage: ghub-cli <moduleName> [--no-open --quiet]

opens a browser to the GitHub repository for <moduleName>

  -n, --no-open  only prints the url but does not open a browser
  -q, --quiet    suppresses console output
  -h, --help     prints this help
  -v, --version  prints the version of ghub-cli

or, install globally:

> npm i -g ghub-cli
> ghub-cli express
The GitHub url for express is https://github.com/expressjs/express
Opening in browser...

thanks

inspired by ghub.io, thank you @juliangruber!

what about npm.im?

there's an npm cli package called npm-url so you can

> npx npm-url express

license

ISC

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago