🎲
pai Testing
faker
Fake data generator for tests and prototyping. Names, emails, addresses, Lorem ipsum, numbers, URLs and more.
Install ppm install faker
Usage Example
uses faker; WriteLn(Name); // Alice Smith WriteLn(Email); // alice.smith@gmail.com WriteLn(Phone); // +1-555-234-5678 WriteLn(Address); // 742 Main St, Springfield WriteLn(IntToStr(Int(1, 100))); // 42 WriteLn(FloatToStr(Float(0.0, 1.0))); // 0.7312 WriteLn(Word); // river WriteLn(Sentence); // The quick stone flame jumps. WriteLn(Paragraph); // Multiple realistic sentences... WriteLn(URL); // https://example.com/river/cloud WriteLn(HexColor); // #a3f72b WriteLn(UUID); // uuid-v4-string
Features
Names, emails, phones and addresses
Lorem ipsum words, sentences, paragraphs
Random integers and floats with range
UUIDs, hex colors and URLs
Reproducible output with random seed
← Back to Package Index