๐ Minimalist command-line tool for generating test data.
โ
Quickly create simple, debug-friendly data files for testing server requestsโright from your console.
Before installing, ensure you have the following:
- Node.js (v14.0.0 or later)
- npm (comes with Node.js)
-
Install the package using one of the following commands:
-
For local use within a project:
npm install fakemint
-
For global use across your system:
npm install -g fakemint
-
-
Verify the installation (optional):
fakemint --version
- Run the following command to open an interactive menu:
fakemint
- Use the following command to generate a file with specified fields:
fakemint generate field1 field2 field3
Input
fakemint generate firstName dateOfBirth email
Output
{
"firstName": "Demarco",
"dateOfBirth": "1964-12-12T18:07:35.108Z",
"email": "[email protected]"
}