{"library":"zenorm","type":"library","category":null,"description":"ZenORM is a Node.js ORM framework that auto-generates TypeScript declarations from an existing MySQL database schema. Unlike traditional ORMs that create database structures, it works inversely by generating model code based on the actual table definitions, making it ideal for retrofitting ORM support into existing projects. It is designed with multi-tenant SAAS systems in mind, supporting multiple database servers and databases, but also works for monoliths. Version 4.6.1 is the latest stable release. Key differentiators include a powerful AB query tool for complex queries, decoration-based model relationships (Join, Many), and automatic TypeScript type generation. Requires mysql-easy-query for runtime and @zenorm/generate for code generation.","language":"javascript","status":"active","version":"4.6.1","tags":["javascript","mysql","query","model","types","generate","database","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install zenorm","imports":["import { Model } from 'zenorm'","import { Join } from 'zenorm'","import { Repositories } from './model'","import { createPoolCompatible } from 'mysql-easy-query'"]},{"cmd":"yarn add zenorm","imports":[]},{"cmd":"pnpm add zenorm","imports":[]}],"homepage":"https://zenorm.node.ltd","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"zenorm","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}