Skip to content

dwp/mock-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mock-data

It generates a mock-data.json file with 100 objects.

Object example:

{
  "lastName": "Swift",
  "firstName": "Carmine",
  "nino": "6925",
  "address": {
    "street": "7022 Bryon Shoals",
    "city": "Tylerview",
    "county": "Avon"
  },
  "phone": "256-764-0829"
}

Usage

Install the dependencies:

npm install

Create file:

npm start

Credits

Built with Faker.js.

Releases

No releases published

Packages

No packages published