1.1.4 • Published 4 months ago

gw2e-playerbase-statistics v1.1.4

Weekly downloads
7
License
MIT
Repository
github
Last release
4 months ago

playerbase-statistics

Build Status Coverage Status

Calculate statistics and distributions of a value across the playerbase

This is part of gw2efficiency. Please report all issues in the central repository.

Install

npm install gw2e-playerbase-statistics

Usage

import playerbaseStatistics from 'gw2e-playerbase-statistics'

// An array of values with their playtime attached
let playerbase = [
  {value: 13, playtime: 5000},
  {value: 123, playtime: 123123}
]

playerbaseStatistics(playerbase)
// -> {leaderboard, statistics, graphData}

Tests

npm test

Licence

MIT

1.1.4

4 months ago

1.1.3

3 years ago

1.1.2

4 years ago

1.1.1

6 years ago

1.1.0

7 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago