UNPKG

highest-averages

Version:

Zero-dependency and extensible set of highest averages methods for allocating seats in a parliament. ### Install ```shell npm i highest-averages ``` ### Pure Example - Define the candidates with their vote ```typescript const a = new Candidate('A', 200) c

5 folders, 14 files
../
3.3 kB
4.32 kB
3.14 kB
4.5 kB
1.2 kB
166 B
425 B
166 B
425 B
488 B
1.68 kB
174 B
492 B
169 B
449 B
325 B
1.28 kB
171 B
468 B