faked ~master
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());
}
- Registered by Robert Schadek
- ~master released a year ago
- kaleidicassociates/faked
- MIT
- Copyright © 2019 Symmetry Investments
- Authors:
- 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 - Download Stats:
-
-
3 downloads today
-
36 downloads this week
-
147 downloads this month
-
10017 downloads total
-
- Score:
- 3.2
- Short URL:
- faked.dub.pm