faked 6.0.1

Library to create fake data based on faker.js (generate names, emails, addresses and much more)


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

FakeD

A real fake data generation library with localization support. See docs for list of supported localizations. Created by "parsing" most of faker.js and transforming it into D. This is done by the tool fakerjsgnerator.

Example

import std.stdio;
import faked;
void main() {

	auto f = new FakerForwarder(/*random seed */ 1337);

	writeln(f.loremText());
	writeln(f.personName());

	// localized to german
	f = new Faker_de(/*random seed */ 1338);

	writeln(f.loremText());
	writeln(f.personName());
}
Authors:
  • Robert Schadek
Dependencies:
none
Versions:
6.0.1 2024-Jan-09
6.0.0 2024-Jan-09
5.0.0 2022-Nov-30
4.0.0 2022-Aug-08
3.0.0 2022-Aug-05
Show all 15 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 3 downloads total

Score:
1.7
Short URL:
faked.dub.pm