2.1.1 • Published 10 years ago

openg v2.1.1

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

openg

npm version Build Status npm download count XO code style

open Github repo pages for npm modules in your browser

Install

npm install --save openg

Usage

const openg = require('openg');

openg('hackathons');
//=> returns a promise that opens the github repo page for the current directory in browser


openg(express);
//=> returns a promise that opens the github repo page for express in browser


openg([inf, sist, openg]);
//=>  returns a promise that opens the github repo pages for inf, sist, and openg in browser

API

openg(target)

target

Type: string | array

returns

Type: promise

License

MIT © Dawson Botsford