Skip to content

[WIP] A library for generating fake data such as names, addresses, and phone numbers

Notifications You must be signed in to change notification settings

v-community/faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faker

This gem is a port of Ruby's Faker library that generates fake data.

NOTE

  • This is the master branch of Faker and may contain changes that are not yet released. Please refer the README of your version for the available methods. List of all versions is available here.

Installing

v install faker

Usage

import faker

//TODO

CLI

We currently work with two optional arguments in the CLI:

  • generator: we have different types of generators inside the /data, you should pass the generator that you're interested in using.
  • method: inside each generator, we can pick up a set of data generators. V will pick up randomly one item.
v run main.v --generator=address_us --method=state_abbr

If your locale doesn't already exist, create it in the data directory and you can then override or add elements to suit your needs.

Contributing

See CONTRIBUTING.md.

Contact

Comments and feedback are welcome. Send an email to Vitor Oliveira via the issues.

License

This code is free to use under the terms of the MIT license.

About

[WIP] A library for generating fake data such as names, addresses, and phone numbers

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages