npm-open
v0.2.0
Published
Open homepage for npm package in the browser, github or website
Downloads
28
Maintainers
Readme
npm-open
A command-line utility to open the package's homepage (GitHub repository or a website) in the browser.
CLI
From any of the project's directories:
$ npm-open [--npm]For a specific package:
$ npm-open [--npm] <directory>Add --npm flag to open the page on npmjs.org, if this is what you really want.
API
npmOpen(directory)
Pass process.cwd() to emulate the first form.
npmOpen.npm(directory)
Related
pkg-open doesn't take into account local packages and thus has to perform additional network requests.
git-open works only for git repositories (but npm-installed packages lack .git) and can't open the arbitrary home pages since its knowledge is limited to git remotes.
Install
npm install -g npm-openLicense
MIT


