0.2.8 • Published 5 months ago

randomuserjssx v0.2.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

RandomUser-JS

RandomUser-JS is a JavaScript module that allows you to generate random users from the RandomUser.me API.

Installation You can install RandomUser-JS using NPM by running the following command:

yarn install randomuser-js

Usage To use RandomUser-JS in your project, simply import the module and call the getRandomUser function:

import randomUser from 'randomuser-js';

// Generate a random user
const user = randomUser.getRandomUser();

console.log(user);

getRandomUser returns a promise that resolves to a random user object, with the following properties:

gender: the user's gender (male or female) name: an object containing the user's full name (title, first, and last) email: the user's email address dob: the user's date of birth phone: the user's phone number cell: the user's cell phone number location: an object containing the user's address (street, city, state, postcode, and country) picture: an object containing the URL of the user's profile picture (large, medium, and thumbnail)

0.2.8

5 months ago

0.2.7

5 months ago

0.2.6

5 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.0

1 year ago

0.1.1

1 year ago

0.1.2

1 year ago

0.1.3

1 year ago

0.1.5

1 year ago

0.1.6

1 year ago