Repository navigation
Releases: dasmig/user-generator
Release list
v2.1.2
v2.1.1
v2.1.0
Opt-in device section: user_request::device adds user::client (JSON key device), the device of the user's last sign-in from device-generator 1.0.2, drawn with the account's country, platform and locale at the day of the last login, with a documentation-range IP address when safe. Off by default: users without a device, their JSON, signatures and known answers are unchanged. usergen.hpp now includes devicegen.hpp, so device-generator must be on the include path (its data loads only on the first user with a device). Tested against address 2.1.0, birth 3.2.0, country 3.2.0, device 1.0.2, email 2.1.1, name 4.5.0, nickname 5.2.0 and phone 2.1.1. @dasmig/user 1.3.0 ships this combination.
user-generator 2.0.1
Repins: tested against address-generator 2.1.0, birth 3.2.0, country 3.2.0, email 2.1.1, name 4.5.0, nickname 5.2.0 and phone 2.1.1, with the known answers re-recorded for them. The header is unchanged since 2.0.0. @dasmig/user 1.2.0 ships this combination.
v2.0.0
v1.0.0
First release. Synthetic user records for apps and test data, composed from the other dasmig generators.
get_userdraws a person whose username, email, phone number and postal address agree on the country, plus an account: a password to a policy, sign-up and last-login times that follow the account status, a platform, a locale, a time zone and a currency.- Seeded, batch and streaming forms; the same seed gives the same user on every compiler tested, and forcing one choice (the status, the password policy) does not shift the others.
safeuses reserved example email domains and, where a country has one, a phone number from the range set aside for fiction.- 100 countries have data in every part. The account tables (platforms, statuses, locales, time zones) are authored estimates and can be extended with layers.
- Also published to npm as
@dasmig/user(package releases are taggedpackage-v...). A live demo is in generator-tech-demo.
Built on address-generator 2.0.1, birth 3.1.2, country 3.1.2, email 2.1.1, name 4.2.2, nickname 5.2.0 and phone 2.1.1.