0.1.1 • Published 1 year ago
fakemint v0.1.1
Fakemint
🍃 Minimalist command-line tool for generating test data.
✅ Quickly create simple, debug-friendly data files for testing server requests—right from your console.
🔧 Installation
Requirements
Before installing, ensure you have the following:
- Node.js (v14.0.0 or later)
- npm (comes with Node.js)
Steps
Install the package using one of the following commands:
For local use within a project:
npm install fakemintFor global use across your system:
npm install -g fakemint
Verify the installation (optional):
fakemint --version
🚀 Usage
Interactive Menu
Run the following command to open an interactive menu:
fakemint
OR
Command-line Mode
Use the following command to generate a file with specified fields:
fakemint generate field1 field2 field3
Example
Input
fakemint generate firstName dateOfBirth emailOutput
{
"firstName": "Demarco",
"dateOfBirth": "1964-12-12T18:07:35.108Z",
"email": "Kari53@hotmail.com"
}