Skip to content

Commit

Permalink
add faker project
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanvancea committed Jun 23, 2021
1 parent d231d7e commit 13ac985
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
24 changes: 24 additions & 0 deletions faker-example-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions faker-example-js/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"faker": "^5.5.3"
}
}
9 changes: 9 additions & 0 deletions faker-example-js/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const faker = require('faker');

const email = faker.internet.email();

const firstName = faker.name.firstName();

const lastName = faker.name.lastName();

console.log(`First name: ${firstName}, last name: ${lastName}, Email: ${email}`);

0 comments on commit 13ac985

Please sign in to comment.