A simple and intuitive way to generate mockup profile picture objects in JSON format.
Many thanks to the creator @jimkang and contributors of g-i-s
Based on my other work generating random names moxname
To install run:
npm i moxup
Using
getProfilePictures(amount, gender)
will return a promise, JSON object array, with urls for profile pictures. A maximum of 10 pictures per function call is returned in the promise.