JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q56415F
  • License MIT

Package Exports

  • cs-go

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cs-go) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

The CS:GO CLI.

See CS:GO teams information (players, map statistics, results) and last matches results.
Best CLI tool for those who are both CS:GO fans and Developers.

All data comes from hltv.org.
Using unofficial HLTV Node.js API HLTV

Install

To use cs-go, make sure that you have Node version 6.0.0 or higher.

$ npm install -g cs-go

Usage

cs-go provides two commands.

  1. teams
  2. results

Teams

List teams ordered by HLTV.org rank.
You can choose a team to get the following information:

  • Players info
  • Map win statistics
  • Recent results
$ cs-go teams

Results

Show the last matches results from HLTV.org.

Options

-l <limit> or --limit <limit>

Enter a specific number to limit the quantity of matches results.
If you don't specify the option, the limit by default is 20.

$ cs-go results -l 30

Development

To run cs-go on your local computer, following this step-by-step instruction:

$ git clone https://github.com/lucaspalencia/cs-go.git
$ cd cs-go
$ npm i
$ NODE_ENV=development node bin/cli.js <command>

Inspired on:

License

MIT