Created
March 31, 2017 16:16
-
-
Save amandeepmittal/b46e5f1126169fbcb707eb85a04ecb79 to your computer and use it in GitHub Desktop.
faker gist user.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const faker = require('faker') | |
const User = { | |
name: faker.name.findName(), | |
email: faker.internet.email(), | |
website: faker.internet.url(), | |
address: faker.address.streetAddress() + faker.address.city() + faker.address.country(), | |
bio: faker.lorem.sentences(), | |
image: faker.image.avatar() | |
} | |
module.exports = User |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment