smogon-stats-viewer v0.4.38
Smogon Usage Stats Viewer
This project is a fork of asanrom's Smogon Usage Stats's Viewer.
This project is a viewer of Pokemon Usage Stats (Smogon) made in HTML5, CSS3 and Javascript. You can use it to visualize Smogon stats in a more visual and sorted format.
Check it out here: https://asanrom.github.io/Smogon-Stats-Viewer/
Requirements
Node.js
Installation
In order to install dependencies, open a shell / terminal / cmd an run the command:
npm installUsage
Before running the following commands below, you have to update the formats.js file :
- Go to the pokmon-showdown's cloned directory
- Run the following command :
npm i && node build - Copy the generated
formats.jsin.config-distdirectory - Paste it into the
tempdirectory of this project
If you want to update the usage stats using the default configuration (gets stats for the last 2 months), run the command:
npm startIn order to update the months list use:
node usage-stats updateIn order to get stats of a month run:
node usage-stats get yyyy-mmIn order to test the client, use the following (You can use 8000 or the port you prefer).
node usage-stats test 8000For more options:
node usage-stats --help