Skip to content

alexmalimon/Fable.Faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fable.Faker

Faker integration with Fable, made with ❤️

Installation (manual)

  • 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 faker@4.1.0

All Locales Code Sample

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

Single Locale Code Sample

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

About

Faker integration with Fable, made with ❤️

Resources

Stars

Watchers

Forks

Languages