Faker integration with Fable, made with ❤️
- Install this library from nuget
paket add Fable.Faker --project /path/to/Project.fsproj
- Install faker from npm (version 4.x)
npm install faker 4.1.0 --save
yarn add [email protected]
This is an examples of Faker
name details generation on english.
All.faker.fake "{{name.lastName}}, {{name.firstName}} {{name.suffix}}"
// or
All.faker.name.firstName()
This is an examples of Faker
name details generation on chinese.
ZhCn.faker.fake "{{name.lastName}}, {{name.firstName}} {{name.suffix}}"
// or
ZhCn.faker.name.firstName()