random-item
Version:
Get a random item from an array
42 lines (41 loc) • 726 B
JSON
{
"name": "random-item",
"version": "4.0.1",
"description": "Get a random item from an array",
"license": "MIT",
"repository": "sindresorhus/random-item",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=12"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"random",
"randomize",
"math",
"array",
"item",
"element",
"pick",
"select"
],
"devDependencies": {
"ava": "^3.15.0",
"stable-fn": "^3.0.0",
"tsd": "^0.14.0",
"xo": "^0.38.2"
}
}