UNPKG

weighted-random

Version:

Select randomly from a list of weighted values.

33 lines (32 loc) 736 B
{ "name": "weighted-random", "version": "0.1.0", "description": "Select randomly from a list of weighted values.", "license": "MIT", "author": { "name": "Brandon Mills", "url": "https://github.com/btmills" }, "repository": "btmills/weighted-random", "bugs": { "url": "https://github.com/btmills/weighted-random/issues" }, "homepage": "https://github.com/btmills/weighted-random#readme", "keywords": [ "weighted", "random" ], "scripts": { "test": "eslint . && mocha" }, "main": "lib/weighted-random.js", "files": [ "lib/*.js" ], "devDependencies": { "@btmills/eslint-config-btmills": "^0.1.2", "chai": "^3.4.1", "eslint": "^1.10.3", "mocha": "^2.4.1" } }