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.
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.
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.
First, install npm. Then, install AutoMapperTS from NPM:
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.