1.0.3 • Published 1 year ago

terminal-howlongtobeat v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

terminal-howlongtobeat

terminal-howlongtobeat is a terminal based application providing game length information from howlongtobeat.com for your favorite video-games!

How to use

CLI usage without npm package installation

$ curl https://terminal-howlongtobeat.herokuapp.com/<Name+of+Game>

Example

$ curl https://terminal-howlongtobeat.herokuapp.com/Baldurs+Gate

image

CLI usage with npm package

You can also install terminal-howlongtobeat package from npm and run the built-in commands from command line interface (cli)

  1. install cli globally
npm i terminal-howlongtobeat -g
  1. run the commands to get information
Available commands
terminal-howlongtobeat --help // to get help
terminal-howlongtobeat --version  // to see the version
terminal-howlongtobeat -g [name of game] // to fetch data for provided name

Example

terminal-howlongtobeat -g Dishonored

image

Tech

Installation

Requires Node.js v8+ to run. Install the dependencies and devDependencies and start the server.

$ git clone "https://github.com/chris-hmmr/terminal-howlongtobeat"
$ npm install
$ npm run serve

Development

Want to contribute? Great! Feel free to open a PR

Support

If you like what you see, feel free to buy me a ☕️.

Enjoy! :)