UNPKG

random-picker

Version:

Randomly pick an item from a set (using the specified probabilities).

51 lines (50 loc) 1.17 kB
{ "name": "random-picker", "version": "1.0.0", "description": "Randomly pick an item from a set (using the specified probabilities).", "main": "lib/random-picker", "scripts": { "build": "npm-run-all clean lint cover", "clean": "rimraf ./coverage/*", "cover": "jest test.js --coverage", "lint": "eslint *.js", "prepublish": "npm run build", "test": "jest test.js" }, "author": "skratchdot", "license": "MIT", "bugs": { "url": "https://github.com/skratchdot/random-picker/issues" }, "homepage": "https://github.com/skratchdot/random-picker", "repository": { "type": "git", "url": "git://github.com/skratchdot/random-picker.git" }, "engines": { "node": ">= 4" }, "dependencies": { "random-seed": "^0.3.0" }, "devDependencies": { "chai": "^4.1.2", "coveralls": "^3.0.0", "eslint": "^4.8.0", "isparta": "^4.0.0", "jest": "^21.2.1", "npm-run-all": "^4.1.1", "rimraf": "^2.6.2" }, "tonicExampleFilename": ".tonic.example.js", "keywords": [ "random", "choice", "selection", "pick", "picker", "probability", "hashset", "hash" ] }