faux-users-us
v1.0.1
Published
A package for generating fake U.S. user information for testing and prototyping.
Downloads
5
Maintainers
Readme
Getting Started with Faux Users Package
Quick Start
npm install faux-users-us
const create_users = require('faux-users-us')
const user = create_users.generateFullUser()
Example Output:
{
_id: 'ea402d0a-c8ea-4b9a-ba31-a05d90746822',
first_name: 'Rosalyn',
last_name: 'Williams',
username: 'Rosalyn#7577',
email: '[email protected]',
phone: '(806) 623-9957',
address: {
street: '3836 Beeston Market',
city: 'Springdale',
state: 'Texas',
zip: '04499'
}
}
Full List of possible methods to build your own users:
getRandomFirstName
getRandomLastName
getRandomFullName
getRandomFemaleFirstName
getRandomFemaleFullName
getRandomMaleFirstName
getRandomMaleFullName
generateRandomPhoneNumber
generateRandomEmail
generateRandomUsername
getRandomStreetAddress
getRandomCity
getRandomState
generateRandomZip
generateFullAddress
generateFullAddressOneLine
generateFullUser
generateFullUserArray
The following resources were used:
https://www.name-generator.org.uk/?i=259iy4yg\
https://www.al.com/news/2019/10/50-most-common-last-names-in-america.html\
https://www.verywellfamily.com/top-1000-baby-girl-names-2757832\
https://www.verywellfamily.com/top-1000-baby-boy-names-2757618
Check out the github here. Let me know if you have any questions.