UNPKG

@rbxts/weighted-random-picker

Version:

Generates functions which pick a random element of an array based upon their assigned relative probabilities.

38 lines (37 loc) 903 B
{ "name": "@rbxts/weighted-random-picker", "version": "1.0.1", "description": "Generates functions which pick a random element of an array based upon their assigned relative probabilities.", "main": "init.lua", "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/Validark/Roblox-TS-Libraries/tree/master/weighted-random-picker" }, "keywords": [ "Roblox-TypeScript", "Roblox", "probability", "pick", "choose", "random", "decide" ], "author": "Validark", "license": "ISC", "bugs": { "url": "https://github.com/Validark/Roblox-TS-libraries/issues" }, "homepage": "https://github.com/Validark/Roblox-TS-Libraries/blob/master/rbx-weighted-random-picker/README.md", "publishConfig": { "access": "public" }, "files": [ "init.lua", "index.d.ts", "README.md" ] }