AutoMapper TypeScript
Map TypeScript objects by convention, then configure only the differences.
AutoMapper TypeScript is an object-to-object mapper. It handles matching properties, nested models, and flattening so your mapping code stays focused on real transformations.
Get started
Choose a mapping strategy, install the packages, and create your first mapper.
Follow the tutorial
Build a class-based mapping from source model to DTO.
Configure mappings
Customize members, callbacks, constructors, conventions, and converters.
Browse the API
Read generated signatures for every public package export.
Packages
| Package | Purpose |
|---|---|
@automapper/core |
Mapper, mapping configuration, conventions, and member functions |
@automapper/classes |
Decorator metadata for classes |
@automapper/pojos |
Explicit metadata for interfaces and plain objects |
@automapper/mikro |
Classes strategy adapted for MikroORM 6 |
@automapper/sequelize |
Classes strategy adapted for Sequelize 6 |
@automapper/nestjs |
NestJS 10 and 11 integration |