Redirect to an npm package's repository page, like ghub.io/express
π Supports GitHub, Gitlab, BitBucket, and others.
π Uses metadata from UNPKG
π HTTPS support
π΄ Always fresh with Dependabot
π« Shared ownership in a GitHub org
π Open Open Source contribution model
Visit ghub.io/<package-name> in your browser and you'll be taken to that
package's repository page on GitHub or elsewhere. If the package has no
specified repo you'll be redirected to npmjs.com.
Examples:
- ghub.io/electron (GitHub)
- ghub.io/jsonschema-extra (GitLab)
- ghub.io/pickles (BitBucket)
- ghub.io/some-nonexistent-package (npm)
ghub is also available as a command-line tool which accepts one or many
package names and opens their GitHub repos in your web browser:
npm i -g ghub
ghub choo chai chalkThe CLI can also read from newline-delimited standard input.
To open a repo tab for every dependency in a local package.json file:
npm i -g ghub json
cat package.json | json dependencies | json -ka | ghubor every devDependency:
npm i -g ghub json
cat package.json | json devDependencies | json -ka | ghubPair ghub with the depnames
CLI to open repo pages for all the dependencies of a given package:
npm i -g ghub depnames
depnames chokidar | ghub
View the top ten most-dependend-on packages whose names start with level:
npm i -g ghub all-the-package-names
all-the-package-names | egrep '^level' | head -n 10 | ghubgithub.com/nice-registry/ghub.io
MIT
gem.wtf - a similar service, but for ruby gems