Command line interface for CaminteJS ORM, a cross-database ORM supporting MySQL, PostgreSQL, SQLite, MongoDB, Redis, and more. Version 1.3.1 is the latest stable release. It scaffolds models, routes, and tests for Express.js applications, generates Swagger specifications, and can parse SQL dumps. Differentiators include support for many databases and a simple CLI workflow for rapid CRUD API development.
npm install caminte-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs CLI globally, initializes a project with MySQL adapter, creates a User model, creates a Post model with routes, parses a SQL dump, and generates Swagger spec.
Check GitHub issues for compatibility; consider using a more modern ORM like Sequelize or Prisma.
Use a separate tool like swagger-cli or manual migration for OpenAPI 3.
Modify the generated route templates to match your desired routing structure.
Install the required adapter (e.g., npm install caminte-mysql) before running -i.
Use Node.js version 12 or lower? Actually may not work on newer versions. Test with Node 10+.
Manually convert generated code to TypeScript or use a different ORM that supports TS.
Run 'npm install -g caminte-mysql' (or local install) before initializing.
Run 'npm install -g caminte-cli' and ensure NPM global bin directory is in PATH.
Run 'npm install caminte' in your project directory.
Use 'sudo npm install -g caminte-cli' or configure NPM prefix for non-root.