openm

1.1.0 • Public • Published

openm

npm version Build Status npm download count XO code style

open npmjs module pages in your browser


demo


CLI

Install

$ npm install -g openm

Usage

$ openm
//=> opens the npmjs module page for the current directory in browser

$ openm chalk
//=> opens the npmjs module page for chalk in browser

$ openm inf sist openm
//=> opens the npmjs module pages for inf, sist, and openm in browser

More help

$ openm --help

  Usage  
    $ openm
    //=> opens the npmjs module page for the current directory in browser

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

  Examples  
    $ openm express
    //=> opens the npmjs module page for express in browser


Package

Install

npm install --save openm

Usage

const openm = require('openm');
 
openm('express');
//=> 'https://www.npmjs.com/module/express'

API

openm(target)

target

Type: string

returns

Type: string


License

MIT © Dawson Botsford


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

Dependencies (6)

Dev Dependencies (3)

Package Sidebar

Install

npm i openm

Weekly Downloads

5

Version

1.1.0

License

MIT

Last publish

Collaborators

  • dawsonbotsford