-
-
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.() | |
'[email protected]' | |
faker.internet.email.() | |
'[email protected] | |
'faker.internet.email.() | |
'[email protected]’ | |
faker.internet.email.() | |
'[email protected]’ |
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() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]' | |
> | |
~/snaplet/copycat $ node | |
Welcome to Node.js v16.13.1. | |
Type ".help" for more information. | |
> const {copycat,faker} = require('.') | |
> faker.internet.email() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]'> |
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() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]' | |
> | |
~/snaplet/copycat $ node | |
Welcome to Node.js v16.13.1. | |
Type ".help" for more information. | |
> const {copycat,faker} = require('.') | |
> faker.internet.email() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]' | |
> faker.internet.email() | |
'[email protected]'> |
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