data-faking 0.1.2

Generate massive amounts of fake data
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::utils::seeder;
use wasm_bindgen::prelude::*;

pub mod words;

#[wasm_bindgen(js_name = ja__lorem_ipsum_word)]
pub fn word() -> String {
    use words::{JA__LOREM, JA__LOREM_LEN};
	JA__LOREM[seeder::gen_range(0..JA__LOREM_LEN)].to_string()
}