dctrotz / mockuu

πŸ§‘ A simplified way to generate user data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM releases GitHub stars GitHub issues GitHub

πŸ€” About

Mockuu is a simplified way to generate user data.

πŸŽ‰ Features

  • πŸ“¦ +29 functions
  • πŸ’™ Fully Typed
  • πŸ”₯ Ready to use with JavaScript & Typescript

πŸ“¦ Install

npm install mockuu

Usage

import { randomFullName, randomPassword } from 'mockuu'

const name = randomFullName()

const password = randomPassword({ size: 20, symbolsChars: true })

πŸ’Ž Modules

Module Example Output
Avatar randomAvatar() https://i.pravatar.cc/200
Age randomAge() 40
Direction randomDirection() Northeast
City randomCity() East Los Angeles
Country randomCountry() Chile
Domain suffix randomDomainSuffix() com
Email randomEmail() Isaac_Hen@aol.org
Email provider randomEmailProvider() mail
First name randomFirstName() Andre
Full name randomFullName() Lisa Hartmann
Gender randomGender() Woman
Last name randomLastName() Harrison
Password randomPassword() KKmD3sMIcg@vPg^KTZ9>
Pronoun randomPronoun() They/Them
Username randomUsername() Rosemarie_Chebet
Zip code randomZipCode() 5786
Longitude randomLongitude() 154.0226
Latitude randomLatitude() -30.9501
Hobby randomHobby() Watching movies
Job randomJob() Designer
Language randomLanguage() Spanish
Phone randomPhone() +42 91 463 61 70
Boolean randomBoolean() true
Number randomNumber() 60000
Street name randomStreetName() Franklin Avenue
Role randomRole() Admin
Timezone randomTimezone() Asia/Magadan
Street address randomStreetAddress() 3000 Hewes
State randomState() Illinois
Country Code randomCountryCode() BT

πŸ”‘ License

MIT

About

πŸ§‘ A simplified way to generate user data

License:MIT License


Languages

Language:TypeScript 100.0%Language:Shell 0.0%