generate-random-user
v0.0.3
Published
### How to use The package is a wrapper around the [Random User API](https://randomuser.me/).
Downloads
1
Readme
Generate Random Users
How to use
The package is a wrapper around the Random User API.
yarn add generate-random-user
import { generateUsers } from 'generate-random-user';
// Generate a random user
generateUsers();
// Returns Promise<array>
// Pass numOfUsers to generate that many users
generateUsers({ numOfUsers: 5 });
// Specify a gender
generateUsers({ gender: 'female' })