JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 40
  • Score
    100M100P100Q56328F
  • 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), live/next matches, last matches results and live streams.
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 CS-GO

Usage

cs-go provides four commands.

  1. teams
  2. matches
  3. results
  4. streams

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

cs-go teams

cs-go teams

Matches

List live/next matches by HLTV.org.
You can choose a matche to get the following information:

  • Event / Format / Team players
  • Vetoes
  • Maps results
  • Streams
  • Last head to head matches
$ cs-go matches

cs-go matches

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 10

cs-go results

Streams

Show live streams from HLTV.org.

$ cs-go streams

cs-go streams

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