A convention-based object-object mapper in JavaScript, written in TypeScript. Ported from the original C# AutoMapper library at

Downloads in past


309201.9.06 years ago8 years agoMinified + gzip package size for automapper-ts in KB


!NPM versionnpm-imagenpm-url !Build Statustravis-imagetravis-url !Coverage Statuscoveralls-imagecoveralls-url This is a TypeScript / Javascript AutoMapper implementation. The pursuit of this implementation is to mimic both usage and functionality of the original .NET AutoMapper library.

What is AutoMapper?

AutoMapper is a fairly small library built to solve a deceptively complex problem - getting rid of code that mapped one object to another. This type of code is rather dreary and boring to write, so why not use a tool to do it for us? Since most of us already are familiar with AutoMapper in .NET, our belief was there should be an somewhat similar implementation for JavaScript. Unfortunately, such library did not exist already. Well, here it finally is: an Automapper implementation for use in TypeScript / Javascript, entirely built and tested using TypeScript.

How do I get started?

Check out the getting started guide. When you're done there, the wiki provides a more thorough documentation. Should you have any remarks / questions, you can get in touch with the team: we are more than happy to be of assistance. Of course, you can always follow @AutoMapperTS on Twitter for update notifications.

Where can I get it?

First, install npm. Then, install AutoMapperTS from NPM: automapper-ts @
npm install automapper-ts
Of course, you can use Bower to install AutoMapperTS. Install Bower first. Finally, install from bower using:
bower install automapper-ts
AutoMapper is Copyright © 2016 Bert Loedeman (@loedeman) and other contributors under the MIT license.