ts-migration

JSON →
library 1.0.1 ·javascript
verified Jun 7, 2026

A TypeScript library for defining typesafe bidirectional migrations between object shapes. Current stable version is 1.0.1, released on npm with infrequent updates. It allows compile-time validation of migration schemas using TypeScript types. Key differentiators: fully typed migrations (forward and reverse), supports both 1-1 and unidirectional transformations, and uses a fluent API with CompileMigration. Alternative libraries like transmutable or object-mapper lack bidirectional typing or compile-time safety.