-
-
Save peterp/1236148c5c6e26ab1b67f129ae608c30 to your computer and use it in GitHub Desktop.
Mapped data values with Copycat
This file contains 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
faker.internet.email.() | |
'Elva67@hotmail.com' | |
faker.internet.email.() | |
'Lonny74@yahoo.com | |
'faker.internet.email.() | |
'Clara16@hotmail.com’ | |
faker.internet.email.() | |
'Gaetano87@yahoo.com’ |
This file contains 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 {copycat,faker} = require(’.’) | |
> faker.internet.email() | |
'Elva67@hotmail.com' | |
> faker.internet.email() | |
'Lonny74@yahoo.com' | |
> faker.internet.email() | |
'Clara16@hotmail.com' | |
> faker.internet.email() | |
'Gaetano87@yahoo.com' | |
> | |
~/snaplet/copycat $ node | |
Welcome to Node.js v16.13.1. | |
Type ".help" for more information. | |
> const {copycat,faker} = require('.') | |
> faker.internet.email() | |
'Jalyn44@yahoo.com' | |
> faker.internet.email() | |
'Esmeralda76@gmail.com' | |
> faker.internet.email() | |
'Kaycee_Green7@hotmail.com'> |
This file contains 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 {copycat,faker} = require(’.’) | |
> faker.internet.email() | |
'Elva67@hotmail.com' | |
> faker.internet.email() | |
'Lonny74@yahoo.com' | |
> faker.internet.email() | |
'Clara16@hotmail.com' | |
> faker.internet.email() | |
'Gaetano87@yahoo.com' | |
> | |
~/snaplet/copycat $ node | |
Welcome to Node.js v16.13.1. | |
Type ".help" for more information. | |
> const {copycat,faker} = require('.') | |
> faker.internet.email() | |
'Jalyn44@yahoo.com' | |
> faker.internet.email() | |
'Esmeralda76@gmail.com' | |
> faker.internet.email() | |
'Kaycee_Green7@hotmail.com'> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Associated to this blog post over here: https://www.snaplet.dev/post/mapped-data-values-with-copycat