Get a random item from an array
import randomItem, {
randomMultipleItems,
} from "https://deno.land/x/random_item/mod.ts";
randomItem(["๐ด", "๐ฆ", "๐"]);
//=> '๐ฆ'
randomMultipleItems(["๐ด", "๐ฆ", "๐"], 2);
//=> ['๐', '๐ฆ']
This project is licensed under the MIT License.