/lotto-frequency

Primary LanguageJavaScriptMIT LicenseMIT

lotto-frequency

A simple node application to list the number frequency in lotto results.

Sample Output:

craig@laptop:~/lotto-frequency$ npm install
...
craig@laptop:~/lotto-frequency$ npm start
48 appears 278 times
30 appears 271 times
23 appears 270 times
8 appears 269 times
2 appears 267 times
39 appears 264 times
44 appears 258 times
17 appears 258 times
24 appears 257 times
41 appears 256 times
3 appears 256 times
27 appears 255 times
43 appears 254 times
7 appears 254 times
46 appears 252 times
14 appears 252 times
47 appears 251 times
33 appears 250 times
18 appears 249 times
6 appears 248 times
40 appears 248 times
35 appears 247 times
29 appears 245 times
20 appears 245 times
9 appears 245 times
22 appears 244 times
26 appears 244 times
34 appears 243 times
5 appears 243 times
13 appears 242 times
49 appears 241 times
45 appears 240 times
11 appears 240 times
1 appears 240 times
19 appears 239 times
31 appears 235 times
12 appears 234 times
32 appears 233 times
38 appears 232 times
15 appears 232 times
10 appears 231 times
21 appears 228 times
4 appears 225 times
25 appears 222 times
42 appears 221 times
28 appears 220 times
37 appears 219 times
36 appears 208 times
51 appears 8 times
52 appears 7 times
50 appears 5 times

Licence: MIT