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
- Host: GitHub
- URL: https://github.com/dawsbot/openm
- Owner: dawsbot
- License: mit
- Created: 2016-03-07T16:54:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-13T06:08:42.000Z (over 10 years ago)
- Last Synced: 2025-09-23T19:57:46.528Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 1010 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/contributing.md
- License: license
Awesome Lists containing this project
README
# openm
[](https://www.npmjs.com/package/openm)
[](https://travis-ci.org/dawsonbotsford/openm)
[](http://npmjs.org/openm)
[](https://github.com/sindresorhus/xo)
> open npmjs module pages in your browser

# 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.