data-faking 0.1.2

Generate massive amounts of fake data
Documentation
use crate::utils::seeder;
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub fn animal() -> String {
	ANIMALS[seeder::gen_range(0..ANIMALS_LEN)].to_string()
}

static ANIMALS: [&'static str; 140] = [
	"alligator",
	"crocodile",
	"alpaca",
	"ant",
	"antelope",
	"ape",
	"armadillo",
	"donkey",
	"baboon",
	"badger",
	"bat",
	"bear",
	"beaver",
	"bee",
	"beetle",
	"buffalo",
	"butterfly",
	"camel",
	"water buffalo",
	"caribou",
	"cat",
	"cattle",
	"cheetah",
	"chimpanzee",
	"chinchilla",
	"cicada",
	"clam",
	"cockroach",
	"cod",
	"coyote",
	"crab",
	"cricket",
	"crow",
	"raven",
	"deer",
	"dinosaur",
	"dog",
	"dolphin",
	"porpoise",
	"duck",
	"eagle",
	"eel",
	"elephant",
	"elk",
	"ferret",
	"fish",
	"fly",
	"fox",
	"frog",
	"toad",
	"gerbil",
	"giraffe",
	"gnat",
	"gnu",
	"wildebeest",
	"goat",
	"goldfish",
	"goose",
	"gorilla",
	"grasshopper",
	"guinea pig",
	"hamster",
	"hare",
	"hedgehog",
	"herring",
	"hippopotamus",
	"hornet",
	"horse",
	"hound",
	"hyena",
	"impala",
	"jackal",
	"jellyfish",
	"kangaroo",
	"wallaby",
	"koala",
	"leopard",
	"lion",
	"lizard",
	"llama",
	"locust",
	"louse",
	"macaw",
	"mallard",
	"mammoth",
	"manatee",
	"marten",
	"mink",
	"minnow",
	"mole",
	"monkey",
	"moose",
	"mosquito",
	"mouse",
	"rat",
	"mule",
	"muskrat",
	"otter",
	"ox",
	"oyster",
	"panda",
	"pig",
	"platypus",
	"porcupine",
	"prairie dog",
	"pug",
	"rabbit",
	"raccoon",
	"reindeer",
	"rhinoceros",
	"salmon",
	"sardine",
	"scorpion",
	"seal",
	"sea lion",
	"serval",
	"shark",
	"sheep",
	"skunk",
	"snail",
	"snake",
	"spider",
	"squirrel",
	"swan",
	"termite",
	"tiger",
	"trout",
	"turtle",
	"tortoise",
	"walrus",
	"wasp",
	"weasel",
	"whale",
	"wolf",
	"wombat",
	"woodchuck",
	"worm",
	"yak",
	"yellowjacket",
	"zebra",
];
static ANIMALS_LEN: usize = ANIMALS.len();