1.1.1 • Published 8 years ago

opent v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

opent

npm version Build Status npm download count XO code style

open travis-ci module pages in your browser

CLI

Install

$ npm install -g opent

Usage

For your first use, opent will ask for your GitHub username. Config is stored in a JSON file located in $XDG_CONFIG_HOME or ~/.config. It can be changed manually if need be. Read more about the configstore

$ opent
//=> opens the travis-ci module page for the current directory in browser

$ opent chalk
//=> opens the travis-ci module page for chalk in browser

$ opent inf sist opent
//=> opens the travis-ci module pages for inf, sist, and opent in browser

More help

$ opent --help

  Usage
    $ opent
    //=> opens the travis-ci module page for the current directory in browser

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

  Examples
    $ opent express
    //=> opens the travis-ci module page for express in browser

Package

Install

npm install --save opent

Usage

const opent = require('opent');

opent('expressjs', 'express');
//=> https://travis-ci.org/expressjs/express

API

opent(username, repoName)

username

Type: string

repoName

Type: string

returns

Type: string

Related

License

MIT © Dawson Botsford


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