create-fake-data

0.0.3 • Public • Published

create-fake-data

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.

Package Sidebar

Install

npm i create-fake-data

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

10 kB

Total Files

14

Last publish

Collaborators

  • amjimenez