0.0.3 • Published 9 months ago

create-fake-data v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Coverage

Overview

This library aims to ease the process of generating fake data into a newly genrated json file given a structure.

Getting started

  • Create a base.json in the location you want to create fake data

The key will be the name of the attribute where the fake data will be place. The value will be the name of the method you want to use, you can check existing methods in FakerJS API.

{
    "userName": "firstName",
    "userLastName": "lastName",
    "favoriteCat": "cat",
    "baseEmail": "email"
}
  • Run the tool
npm init fake-data

or using npx

npx create-fake-data

The output should be a file in the current directory

{timestamp}_fakeData,json

Contributing

See CONTRIBUTING.md.

License

Open source software licensed as MIT.