/openm

open npmjs module pages in your browser

Primary LanguageJavaScriptMIT LicenseMIT

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.