seed-wizard
v1.0.5
Published
A dynamic CLI tool to generate realistic SQL and JSON seed data with progress bars.
Maintainers
Readme
🧙♂️ Seed Wizard
Stop writing insert statements by hand. Seed Wizard is a powerful, stretchable CLI tool for generating realistic dummy data for SQL and NoSQL databases — in seconds.
✨ Features
| Feature | Description |
|---|---|
| 🗄️ Multi-Database | Generate .sql for PostgreSQL/MySQL or .json for MongoDB/Firebase |
| 🇮🇳 Indian Locale | Built-in support for +91 phone formats, Indian cities, and addresses |
| 📊 Beautiful UX | Real-time progress bars and a colored dashboard in your terminal |
| 🧠 Type Smart | Auto-detects numbers vs. strings; handles SQL escaping (O'Connor → 'O''Connor') |
| 🔧 Stretchable Schema | Pass exactly the columns you need as CLI arguments — no config files |
📦 Installation
npm install -g seed-wizard🛠️ Usage
Show Help & Dashboard
seed-wizard --helpGenerate SQL (PostgreSQL / MySQL)
seed-wizard sql <table> "<columns>" <count>Example:
seed-wizard sql users "name, age, phone, balance, city" 100Generate JSON (MongoDB / Firebase)
seed-wizard json <collection> "<columns>" <count>Example:
seed-wizard json products "product, price, description, date" 50🔑 Available Data Keywords
| Category | Keywords |
|---|---|
| 👤 Personal | name, email, phone (+91), age, gender, avatar |
| 📍 Location | city, address, country, zip |
| 💼 Business | balance, company, job, price, product |
| ⚙️ System | id, date, password, description, boolean |
💡 Examples
Banking / Fintech:
seed-wizard sql customers "name, balance, age, phone" 500E-commerce Inventory:
seed-wizard json inventory "product, price, description" 20User Profiles:
seed-wizard sql profiles "name, email, age, city, gender, avatar" 200🗂️ Output
- SQL mode → generates a
.sqlfile with ready-to-runINSERTstatements - JSON mode → generates a
.jsonfile importable into MongoDB, Firebase, or any document store
📄 License
MIT © Saurabh Jadhav
