An open API service indexing awesome lists of open source software.

https://github.com/dawsbot/openm

open npmjs module pages in your browser
https://github.com/dawsbot/openm

Last synced: 9 months ago
JSON representation

open npmjs module pages in your browser

Awesome Lists containing this project

README

          

# openm
[![npm version](https://img.shields.io/npm/v/openm.svg)](https://www.npmjs.com/package/openm)
[![Build Status](https://travis-ci.org/dawsonbotsford/openm.svg?branch=master)](https://travis-ci.org/dawsonbotsford/openm)
[![npm download count](http://img.shields.io/npm/dm/openm.svg?style=flat)](http://npmjs.org/openm)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)

> open npmjs module pages in your browser


![demo](demo.gif)


# 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 [*]
//=> opens the npmjs module page for N-lengthed packages in browser'

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


---
# Package

## Install
```
npm install --save openm
```


## Usage

```js
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](http://dawsonbotsford.com)

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