csstats-reader
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "csstats-reader", | ||
"displayName": "csstats-reader", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Node.js package for parse AMX Mod X Stats File.", | ||
@@ -6,0 +6,0 @@ "author": "Giovani de Oliveira <giovanioliveira@outlook.com.br>", |
@@ -33,3 +33,3 @@ const fs = require('fs'); | ||
async top(parameter = 'kills') { | ||
const stats = await this.parse(); | ||
const stats = await this.players(); | ||
@@ -36,0 +36,0 @@ const players = stats.sort((a, b) => ((a[parameter] < b[parameter]) ? 1 : -1)); |
42055