Faker2 is an enhanced lua library that generates fake data for you.

$ luarocks install faker2

Faker2 is an enhanced fork of lua-faker - a lua library that generates fake data for you.
Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker2 is for you.

Enhanced features include:
- Seed support for reproducible random sequences
- Enhanced string and integer generation with min/max length and pattern matching
- New data type generators (UUID, URI, URL, dates, IP addresses, passwords, etc.)
- ID generation with multiple formats
- Comprehensive test suite

Faker2 is heavily inspired by PHP Faker, Perl Faker, Ruby Faker and by Python Faker.

Versions

0.0.2-13 hours ago2 downloads

Dependencies

lua >= 5.1

Manifests