openm
open npmjs module pages in your browser
Last updated 4 years ago by dawsonbotsford .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install openm 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

2 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (3)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |