openg-cli

open Github repo pages for npm modules in your browser

Usage no npm install needed!

<script type="module">
  import opengCli from 'https://cdn.skypack.dev/openg-cli';
</script>

README

openg

npm version Build Status npm download count XO code style

open Github repo pages for npm modules in your browser


CLI

Install

$ npm install -g openg

Usage

$ openg
//=> opens the github repo page for the current directory in browser

$ openg chalk
//=> opens the github repo page for chalk in browser

$ openg inf sist openg
//=> opens the github repo pages for inf, sist, and openg in browser

More help

$ openg --help

  Usage
    $ openg
    //=> opens the github repo page for the current directory in browser

    $ openg [*<module name>]
    //=> opens the github repo page for N-lengthed <module name> packages in browser'

  Examples
    $ openg express
    //=> opens the github repo page for express in browser

FAQ

How is this different than npm repo?

npm repo is an npm builtin which provides similar functionality to openg. Here are the differences (growing list):

  • openg supports multiple module openings, npm repo supports only one at a time.

Related


License

MIT © Dawson Botsford


If you like this, star it. If you want to follow me, follow me.