{"_id":"@databridge-cli/cli","_rev":"5-37387fa387c12507649b01b148987531","name":"@databridge-cli/cli","dist-tags":{"latest":"0.2.11"},"versions":{"0.2.6":{"name":"@databridge-cli/cli","version":"0.2.6","_id":"@databridge-cli/cli@0.2.6","maintainers":[{"name":"alex-muturi","email":"alex.migwi@gmail.com"}],"bin":{"databridge":"bin/run.js","create-databridge":"bin/run.js"},"dist":{"shasum":"2eba4ad596997147cd8f06a9894d2a228df8ce48","tarball":"https://registry.npmjs.org/@databridge-cli/cli/-/cli-0.2.6.tgz","fileCount":51,"integrity":"sha512-GGKGAeeCM1LodgBWA0Vr/oEj4TDpomREr1jYxY0sELiUVGKo+0HE9urjCuL+ZjB3vynQPqVIbadGP7Dhq8wUTA==","signatures":[{"sig":"MEQCIBaf6PDlNHzliBm7VNG8bW4NVG7p8Xd3gur2fPR0JqqyAiAyaWQ34StJiQXgQg0VH/0MyDgjG52MPXFfYJqE2WJWQA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270936},"main":"dist/index.js","type":"module","oclif":{"bin":"databridge","dirname":"databridge","commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","gitHead":"32f0ba805a42b81fc4af6b9dae4b1bc8a0a985e3","scripts":{"dev":"tsx bin/dev.ts","test":"echo 'Tests not yet implemented'","build":"tsc -b && pnpm run copy:templates","prepack":"pnpm build && oclif manifest","version":"oclif readme && git add README.md","postpack":"rm -f oclif.manifest.json","copy:templates":"node -e \"import('fs').then(fs => fs.mkdirSync('templates', {recursive: true}))\" && node -e \"import('fs').then(fs => fs.cpSync('src/templates', 'templates', {recursive: true}))\""},"_npmUser":{"name":"alex-muturi","email":"alex.migwi@gmail.com"},"_npmVersion":"10.8.2","description":"DataBridge CLI - Generate APIs and SDKs from databases","directories":{},"_nodeVersion":"20.19.3","dependencies":{"tsx":"^4.21.0","zod":"^4.1.13","glob":"^13.0.0","pino":"^10.1.0","chalk":"^5.6.2","prisma":"^7.1.0","fastify":"^5.6.2","fs-extra":"^11.3.2","ts-morph":"^27.0.2","@oclif/core":"^4.0.0","pino-pretty":"^13.1.2","@fastify/cors":"^11.1.0","@prisma/client":"^7.1.0","fastify-plugin":"^5.1.0","@fastify/swagger":"^9.3.1","@prisma/internals":"^7.1.0","@oclif/plugin-help":"^6.0.0","@fastify/swagger-ui":"^5.2.3","@oclif/plugin-plugins":"^5.0.0","@prisma/generator-helper":"^7.1.0"},"_hasShrinkwrap":false,"devDependencies":{"oclif":"^4.0.0","cross-env":"^7.0.3","@types/glob":"^9.0.0","@types/fs-extra":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.6_1765929938282_0.045081903863254835","host":"s3://npm-registry-packages-npm-production"}},"0.2.7":{"name":"@databridge-cli/cli","version":"0.2.7","_id":"@databridge-cli/cli@0.2.7","maintainers":[{"name":"alex-muturi","email":"alex.migwi@gmail.com"}],"bin":{"databridge":"bin/run.js","create-databridge":"bin/run.js"},"dist":{"shasum":"1900d12a199faf5c4cb561aa2796df4641a90645","tarball":"https://registry.npmjs.org/@databridge-cli/cli/-/cli-0.2.7.tgz","fileCount":52,"integrity":"sha512-qbKvaK9XSO5rV5cl5X8eaWnupPyIhVeb8c+ha7coE+wq4yEgLbmhbGGt6ub/7hlKgVd9HQyLr6XjIzveQuZMJg==","signatures":[{"sig":"MEUCIGQUwpvg/Zi4tSqPwzAA0hx5Xx+V05EocALBS4jCQC9wAiEA4ZUh2tafvxA2QNN3T2FLBEFqieXdWjyXmlE5qZ4Q1a4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":274029},"main":"dist/index.js","type":"module","oclif":{"bin":"databridge","dirname":"databridge","commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","gitHead":"58dbb9ee5e35cb872a7d95ec89bdcb6b04662c55","scripts":{"dev":"tsx bin/dev.ts","test":"echo 'Tests not yet implemented'","build":"tsc -b && pnpm run copy:templates","prepack":"pnpm build && oclif manifest","version":"oclif readme && git add README.md","postpack":"rm -f oclif.manifest.json","copy:templates":"node -e \"import('fs').then(fs => fs.mkdirSync('templates', {recursive: true}))\" && node -e \"import('fs').then(fs => fs.cpSync('src/templates', 'templates', {recursive: true}))\""},"_npmUser":{"name":"alex-muturi","email":"alex.migwi@gmail.com"},"_npmVersion":"10.8.2","description":"DataBridge CLI - Generate APIs and SDKs from databases","directories":{},"_nodeVersion":"20.19.3","dependencies":{"tsx":"^4.21.0","zod":"^4.1.13","glob":"^13.0.0","pino":"^10.1.0","chalk":"^5.6.2","prisma":"^7.1.0","fastify":"^5.6.2","fs-extra":"^11.3.2","ts-morph":"^27.0.2","@oclif/core":"^4.0.0","pino-pretty":"^13.1.2","@fastify/cors":"^11.1.0","@prisma/client":"^7.1.0","fastify-plugin":"^5.1.0","@fastify/swagger":"^9.3.1","@prisma/internals":"^7.1.0","@oclif/plugin-help":"^6.0.0","@fastify/swagger-ui":"^5.2.3","@oclif/plugin-plugins":"^5.0.0","@prisma/generator-helper":"^7.1.0"},"_hasShrinkwrap":false,"devDependencies":{"oclif":"^4.0.0","cross-env":"^7.0.3","@types/glob":"^9.0.0","@types/fs-extra":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.7_1765933169516_0.409849219014917","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"@databridge-cli/cli","version":"0.2.9","_id":"@databridge-cli/cli@0.2.9","maintainers":[{"name":"alex-muturi","email":"alex.migwi@gmail.com"}],"bin":{"databridge":"bin/run.js","create-databridge":"bin/run.js"},"dist":{"shasum":"df46647397b8e2b82590413df529b7bf326753fd","tarball":"https://registry.npmjs.org/@databridge-cli/cli/-/cli-0.2.9.tgz","fileCount":89,"integrity":"sha512-b60RVOoutQVYWeHqozrKBmZaCoWAuXUwHmnp1n88IjnK39cX0/ZTSVLxGqh0y6ejvGXLZFUjI2mdmP0jN2Lwwg==","signatures":[{"sig":"MEQCIB/1FaO7ZudQkraBPf326jeIFret54cazSvl/KTWdwykAiBalR/Z84oHUwPh4tiADFYpFa2gVTEehMPaPvCluQpNmQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":516505},"main":"dist/index.js","type":"module","oclif":{"bin":"databridge","dirname":"databridge","commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","gitHead":"d154f9eb3ac60ad30e2de91d3aab3faec4bb01ee","scripts":{"dev":"tsx bin/dev.ts","test":"echo 'Tests not yet implemented'","build":"tsc -b && pnpm run copy:templates","prepack":"pnpm build && oclif manifest","version":"oclif readme && git add README.md","postpack":"rm -f oclif.manifest.json","copy:templates":"node -e \"import('fs').then(fs => fs.mkdirSync('templates', {recursive: true}))\" && node -e \"import('fs').then(fs => fs.cpSync('src/templates', 'templates', {recursive: true}))\""},"_npmUser":{"name":"alex-muturi","email":"alex.migwi@gmail.com"},"_npmVersion":"10.8.2","description":"DataBridge CLI - Generate APIs and SDKs from databases","directories":{},"_nodeVersion":"20.19.6","dependencies":{"tsx":"^4.21.0","zod":"^4.1.13","glob":"^13.0.0","pino":"^10.1.0","chalk":"^5.6.2","prisma":"^7.1.0","fastify":"^5.6.2","ts-node":"^10.9.2","fs-extra":"^11.3.2","ts-morph":"^27.0.2","@oclif/core":"^4.0.0","pino-pretty":"^13.1.2","@fastify/cors":"^11.1.0","@prisma/client":"^7.1.0","fastify-plugin":"^5.1.0","@fastify/swagger":"^9.3.1","@prisma/internals":"^7.1.0","@oclif/plugin-help":"^6.0.0","@fastify/swagger-ui":"^5.2.3","@oclif/plugin-plugins":"^5.0.0","@prisma/generator-helper":"^7.1.0"},"_hasShrinkwrap":false,"devDependencies":{"oclif":"^4.0.0","cross-env":"^7.0.3","@types/glob":"^9.0.0","@types/fs-extra":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.9_1767642202773_0.3901024675691094","host":"s3://npm-registry-packages-npm-production"}},"0.2.10":{"name":"@databridge-cli/cli","version":"0.2.10","keywords":["api-generator","rest-api","sdk-generator","openapi","prisma","mysql","postgresql","sql-server","sqlite","cockroachdb","fastify","typescript","code-generation","database-tools","backend"],"author":{"name":"Alex Migwi"},"license":"MIT","_id":"@databridge-cli/cli@0.2.10","maintainers":[{"name":"alex-muturi","email":"alex.migwi@gmail.com"}],"homepage":"https://databridge.chanansystems.co.ke","bugs":{"url":"https://github.com/alex-migwi/databridge/issues"},"bin":{"databridge":"bin/run.js","create-databridge":"bin/run.js"},"dist":{"shasum":"64bbba20d4f049f35d522fdafe415bc942c2be89","tarball":"https://registry.npmjs.org/@databridge-cli/cli/-/cli-0.2.10.tgz","fileCount":89,"integrity":"sha512-Jow/8ai4S/+H0tQ6Po+knahkp2iIdRDCgauUgrn0znQyXwCz8fnJTOype5jZfvkXKW/xY/mflnAwOPq9dKKT5w==","signatures":[{"sig":"MEUCIQDpfg0xuYoTLhEEp//+RRMBYIM643Wg9IIgHyXZWpPPXwIgVsCEjPO5vi9VbKKo0HzFfSjeprlJq9cblVV925AIV8E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":517190},"main":"dist/index.js","type":"module","oclif":{"bin":"databridge","dirname":"databridge","commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","gitHead":"dc5f7ec5f6806b12923bba311dab67ad2428ec68","scripts":{"dev":"tsx bin/dev.ts","test":"echo 'Tests not yet implemented'","build":"tsc -b && pnpm run copy:templates","prepack":"pnpm build && oclif manifest","version":"oclif readme && git add README.md","postpack":"rm -f oclif.manifest.json","copy:templates":"node -e \"import('fs').then(fs => fs.mkdirSync('templates', {recursive: true}))\" && node -e \"import('fs').then(fs => fs.cpSync('src/templates', 'templates', {recursive: true}))\""},"_npmUser":{"name":"alex-muturi","email":"alex.migwi@gmail.com"},"repository":{"url":"git+https://github.com/alex-migwi/databridge.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.8.2","description":"Auto-generate production-ready REST APIs and type-safe SDKs from any database (MySQL, PostgreSQL, SQL Server, SQLite, CockroachDB)","directories":{},"_nodeVersion":"20.19.6","dependencies":{"tsx":"^4.21.0","zod":"^4.1.13","glob":"^13.0.0","pino":"^10.1.0","chalk":"^5.6.2","prisma":"^7.1.0","fastify":"^5.6.2","ts-node":"^10.9.2","fs-extra":"^11.3.2","ts-morph":"^27.0.2","@oclif/core":"^4.0.0","pino-pretty":"^13.1.2","@fastify/cors":"^11.1.0","@prisma/client":"^7.1.0","fastify-plugin":"^5.1.0","@fastify/swagger":"^9.3.1","@prisma/internals":"^7.1.0","@oclif/plugin-help":"^6.0.0","@fastify/swagger-ui":"^5.2.3","@oclif/plugin-plugins":"^5.0.0","@prisma/generator-helper":"^7.1.0"},"_hasShrinkwrap":false,"devDependencies":{"oclif":"^4.0.0","cross-env":"^7.0.3","@types/glob":"^9.0.0","@types/fs-extra":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.10_1767644999978_0.5125599431277461","host":"s3://npm-registry-packages-npm-production"}},"0.2.11":{"name":"@databridge-cli/cli","version":"0.2.11","description":"Auto-generate production-ready REST APIs and type-safe SDKs from any database (MySQL, PostgreSQL, SQL Server, SQLite, CockroachDB)","type":"module","homepage":"https://databridge.chanansystems.co.ke","repository":{"type":"git","url":"git+https://github.com/alex-migwi/databridge.git","directory":"packages/cli"},"bugs":{"url":"https://github.com/alex-migwi/databridge/issues"},"author":{"name":"Alex Migwi"},"license":"MIT","keywords":["api-generator","rest-api","sdk-generator","openapi","prisma","mysql","postgresql","sql-server","sqlite","cockroachdb","fastify","typescript","code-generation","database-tools","backend"],"main":"dist/index.js","types":"dist/index.d.ts","bin":{"databridge":"bin/run.js","create-databridge":"bin/run.js"},"scripts":{"build":"tsc -b && pnpm run copy:templates","copy:templates":"node -e \"import('fs').then(fs => fs.mkdirSync('templates', {recursive: true}))\" && node -e \"import('fs').then(fs => fs.cpSync('src/templates', 'templates', {recursive: true}))\"","dev":"tsx bin/dev.ts","postpack":"rm -f oclif.manifest.json","prepack":"pnpm build && oclif manifest","version":"oclif readme && git add README.md","test":"vitest run","test:watch":"vitest"},"dependencies":{"@fastify/cors":"^11.1.0","@fastify/swagger":"^9.3.1","@fastify/swagger-ui":"^5.2.3","@oclif/core":"^4.0.0","@oclif/plugin-help":"^6.0.0","@oclif/plugin-plugins":"^5.0.0","@prisma/client":"^7.1.0","@prisma/generator-helper":"^7.1.0","@prisma/internals":"^7.1.0","chalk":"^5.6.2","fastify":"^5.6.2","fastify-plugin":"^5.1.0","fs-extra":"^11.3.2","glob":"^13.0.0","pino":"^10.1.0","pino-pretty":"^13.1.2","prisma":"^7.1.0","ts-morph":"^27.0.2","ts-node":"^10.9.2","tsx":"^4.21.0","zod":"^4.1.13"},"devDependencies":{"@types/fs-extra":"^11.0.0","@types/glob":"^9.0.0","cross-env":"^7.0.3","oclif":"^4.0.0","vitest":"^4.0.18"},"oclif":{"bin":"databridge","dirname":"databridge","commands":"./dist/commands","topicSeparator":" "},"_id":"@databridge-cli/cli@0.2.11","gitHead":"a51b584d651a139825a9507094a49fd1504a140e","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-HMuhyoGd2qZi6BdDrnXl+RQi3kKRhwnX+9aa/mDNKhq+EfFknPHWOY17YOA5u1Lt2vOgLJLTcr8y7iXLuxOpaA==","shasum":"8d1da0dad87b54ecfad4390d370ebe91e4ca2983","tarball":"https://registry.npmjs.org/@databridge-cli/cli/-/cli-0.2.11.tgz","fileCount":189,"unpackedSize":802621,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDvHXBsP45vJm/UwJSVZhMil5ctdwi3ySj9e8KB+mEL3gIgGqB8JrP1ZvWJwqlnn91HSyuDootltq/05vq5viYN4z8="}]},"_npmUser":{"name":"alex-muturi","email":"alex.migwi@gmail.com"},"directories":{},"maintainers":[{"name":"alex-muturi","email":"alex.migwi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.2.11_1772760879674_0.41206359566255935"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-17T00:05:38.176Z","modified":"2026-03-06T01:34:39.986Z","0.2.6":"2025-12-17T00:05:38.451Z","0.2.7":"2025-12-17T00:59:29.695Z","0.2.9":"2026-01-05T19:43:22.948Z","0.2.10":"2026-01-05T20:30:00.147Z","0.2.11":"2026-03-06T01:34:39.860Z"},"bugs":{"url":"https://github.com/alex-migwi/databridge/issues"},"author":{"name":"Alex Migwi"},"license":"MIT","homepage":"https://databridge.chanansystems.co.ke","keywords":["api-generator","rest-api","sdk-generator","openapi","prisma","mysql","postgresql","sql-server","sqlite","cockroachdb","fastify","typescript","code-generation","database-tools","backend"],"repository":{"type":"git","url":"git+https://github.com/alex-migwi/databridge.git","directory":"packages/cli"},"description":"Auto-generate production-ready REST APIs and type-safe SDKs from any database (MySQL, PostgreSQL, SQL Server, SQLite, CockroachDB)","maintainers":[{"name":"alex-muturi","email":"alex.migwi@gmail.com"}],"readme":"# DataBridge CLI\n\n> **Auto-generate production-ready REST APIs from any database**\n\nTurn your MySQL, PostgreSQL, SQL Server, SQLite, or CockroachDB into a fully functional REST API in seconds.\n\n## Quick Start\n\n```bash\n# Install globally\nnpm install -g @databridge-cli/cli\n\n# Create a new project\ndatabridge init my-api\n\n# Follow the prompts...\n# Your API is now running at http://localhost:3000\n```\n\n## Features\n\n- ✅ **Full CRUD operations** for all database tables\n- ✅ **Interactive API documentation** at `/docs`\n- ✅ **Type-safe TypeScript** code generation\n- ✅ **OpenAPI 3.0 specification** auto-generated\n- ✅ **Multi-language SDK generation** (50+ languages via OpenAPI Generator)\n- ✅ **Frontend framework support** (Angular, React, Vue, Svelte)\n- ✅ **Production-ready logging** built-in\n- ✅ **5+ databases supported** (MySQL, PostgreSQL, SQL Server, SQLite, CockroachDB)\n\n## What It Does\n\nDataBridge automatically:\n- Connects to your existing database\n- Generates REST API routes with full CRUD operations\n- Creates SDKs for 50+ languages (Python, Go, C#, Java, TypeScript, etc.)\n- Generates frontend clients (Angular, React, Vue, Svelte)\n- Generates OpenAPI 3.0 specs for testing and documentation\n- Keeps everything in sync with simple commands\n- Stays extensible - customize generated code easily\n\n## Documentation\n\n- **Full Documentation**: https://databridge.chanansystems.co.ke\n- **Getting Started**: https://databridge.chanansystems.co.ke/docs/getting-started/quick-start/\n- **CLI Reference**: https://databridge.chanansystems.co.ke/docs/api/cli-reference/\n- **GitHub Repository**: https://github.com/alex-migwi/databridge\n\n## Usage\n\n### Initialize a New Project\n\n```bash\ndatabridge init my-project\ncd my-project\n```\n\n### Generate API from Database\n\n```bash\n# Configure your database connection\ndatabridge generate\n```\n\n### Start the API Server\n\n```bash\ndatabridge serve\n# API available at http://localhost:3000\n# Docs available at http://localhost:3000/docs\n```\n\n### Generate Client SDKs\n\n```bash\n# Generate SDK for specific language(s)\ndatabridge generate-sdk --lang typescript-axios --output ./sdks\n\n# Generate multiple SDKs at once\ndatabridge generate-sdk --lang python,go,typescript-axios --output ./sdks\n```\n\n## Requirements\n\n- Node.js 18+ (20+ recommended)\n- npm 8+\n- Supported database (MySQL, PostgreSQL, SQL Server, SQLite, or CockroachDB)\n\n## Support\n\n- **Issues**: https://github.com/alex-migwi/databridge/issues\n- **Discussions**: https://github.com/alex-migwi/databridge/discussions\n\n## Package Information\n\n**Universal Package**: Works on Windows, macOS, and Linux.\n\n**Previous Platform-Specific Packages** (deprecated):\n- `@databridge-cli/cli-win32`\n- `@databridge-cli/cli-darwin`\n- `@databridge-cli/cli-linux`\n\nIf you're using an old platform-specific package, please upgrade to the universal package.\n\n## License\n\nMIT License - see [LICENSE](https://github.com/alex-migwi/databridge/blob/master/LICENSE) for details.\n\n---\n\n**Built by the DataBridge team**\n","readmeFilename":"README.md"}