data-faking 0.1.2

Generate massive amounts of fake data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use wasm_bindgen::prelude::*;
use super::internals;

#[wasm_bindgen]
pub fn year() -> String {
  internals::gen_year_epoch().to_string()
}

#[wasm_bindgen]
pub fn year_unsafe() -> String {
  internals::gen_year_unsafe().to_string()
}