Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 557 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 557 Bytes

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());
}