terminal-howlongtobeat is a terminal based application providing game length information from howlongtobeat.com for your favorite video-games!
$ curl https://terminal-howlongtobeat.herokuapp.com/<Name+of+Game>
$ curl https://terminal-howlongtobeat.herokuapp.com/Baldurs+Gate
You can also install terminal-howlongtobeat package from npm and run the built-in commands from command line interface (cli)
- install cli globally
npm i terminal-howlongtobeat -g
- run the commands to get information
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
terminal-howlongtobeat -g Dishonored
- [node.js] - evented I/O for the backend
- [Express] - fast node.js network app framework
- [howlongtobeat] - npm package providing game data [@ckatzorke]
- [cli-table3] - allows to compose cli-optimized tables
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
Want to contribute? Great! Feel free to open a PR
If you like what you see, feel free to buy me a ☕️.