Select randomly from a list of weighted values.
github.com/btmills/weighted-random
btmills/weighted-random