1.1.0 • Published 3 years ago

tp-to v1.1.0

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

tp-to

Travis Status Coverage Status Download Weekly License Create by

Fast open website, like the Town Port Scroll and Teleport abilities in DOTA2.

Install

$ npm i tp-to -g # npm
$ yarn global add tp-to # yarn

Usage

Get started

image

Basic

# add website
$ tp add gh # https://github.com/
$ tp add npm # https://www.npmjs.com/
$ tp add npm -d # https://docs.npmjs.com/

# open website
$ tp gh # https://github.com/
$ tp npm # https://www.npmjs.com/
$ tp npm -d # https://docs.npmjs.com/

Placeholder

# add website
$ tp add npm -p # https://www.npmjs.com/package/{p}
$ tp add npm -s # https://www.npmjs.com/search?q={s}
$ tp add gh -p=kingback # https://github.com/{p},set default value: kingback

# open website
$ tp npm -p lodash # https://www.npmjs.com/package/lodash
$ tp npm -s react # https://www.npmjs.com/search?q=react
$ tp gh -p # https://github.com/kingback,use default value: kingback
$ tp gh -p tj # https://github.com/tj

Advanced config(TODO)