Weighted-RNG A weighted RNG for nodeJS Usage To use Weighted-RNG, simply require and call it like so: const genWeight = require("weighted-rng"); genWeight({ "a": 0.4, "b": 0.4, "c": 0.2 })