{"library":"ts-migrate-mongoose","type":"library","category":null,"description":"ts-migrate-mongoose is a robust migration framework for Mongoose, specifically designed for managing database schema changes in MongoDB with TypeScript. The current stable version is 5.3.2, with an active and responsive release cadence, frequently publishing minor and patch updates to introduce new features, security enhancements, and compatibility fixes. Key differentiators include its ability to store migration state directly within MongoDB, flexible configuration options via `migrate.json`, `migrate.ts`, or `.env` files, direct utilization of Mongoose models within migrations, comprehensive support for async/await, and versatile execution options through both CLI and programmatic interfaces. It also supports pruning, syncing, custom templates, single migration execution, and is compatible with both ESM and CommonJS module systems across various Node.js frameworks.","language":"javascript","status":"active","version":"5.3.2","tags":["javascript","backend","migrate","migration","migrations","mongoose","mongodb","mongo","schema","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ts-migrate-mongoose","imports":["import { Migrate } from 'ts-migrate-mongoose';","import type { IMigration } from 'ts-migrate-mongoose';","import { runCLI } from 'ts-migrate-mongoose';"]},{"cmd":"yarn add ts-migrate-mongoose","imports":[]},{"cmd":"pnpm add ts-migrate-mongoose","imports":[]}],"homepage":"https://kristianmandrup.github.io/ts-migrate-mongoose","github":"https://github.com/ilovepixelart/ts-migrate-mongoose","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ts-migrate-mongoose","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ts-migrate-mongoose/compatibility"}}