# nartc/mapper

🔥 An Object-Object AutoMapper for TypeScript 🔥

Repository: https://github.com/nartc/mapper
Canonical: https://ross.abutalabs.com/products/nartc-mapper
Homepage: https://automapperts.netlify.app/
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, automapper, nodejs, javascript, mapper, nx, hacktoberfest, hacktoberfest-accepted
Last push: 2026-08-08T00:04:49+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 93, longevity 100
- inputs: {"age_days": 2498, "days_push": 26, "days_rel": 48, "gap_med": 0, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1006, forks 98 (observed 2026-08-28T04:03:11.919372+00:00)

## What it is
AutoMapper TypeScript is an object-to-object mapping library for TypeScript, inspired by .NET's AutoMapper. It maps objects by convention with configuration for differences, supporting classes, POJOs, and integrations with NestJS and ORMs like MikroORM and Sequelize.

## Use cases
- map entities to DTOs in TypeScript
- automatically map object properties by convention
- flatten nested models into flat DTOs
- integrate object mapping with NestJS
- map between classes and plain objects
- reduce boilerplate mapping code in TypeScript projects

## When to choose
- you need convention-based object-to-object mapping in TypeScript
- you use NestJS or MikroORM/Sequelize and want integrated mapping
- you want to eliminate repetitive manual property-copying code
- you need nested model mapping and flattening

## When to avoid
- your project is plain JavaScript without type metadata needs
- you only need simple one-off object spreads
- you want a runtime-agnostic mapper without Node.js 20+
- you prefer explicit hand-written mapping functions for full control

## Facets
- artifact type: library
- maturity: active
- function: serialization, developer-tools
- domain: developer-tools, backend, web-development
- platform: cross-platform
- tags: object-mapper, dto-mapping, automapper, nestjs, orm-integration, nodejs, typescript

## Member repositories
- nartc/mapper (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:11.919372+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:12:57.975853+00:00, confidence not recorded.
  - readme: https://github.com/nartc/mapper (fetched 2026-08-28T04:03:11.919372+00:00, sha e25a64dd1141)
  - homepage: https://automapperts.netlify.app/ (fetched 2026-08-29T13:13:02.066419+00:00, sha 2d3da0f9c040)
- Data as of 2026-08-30T08:39:29.467469+00:00.
