Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including automapper-ts with all npm packages installed. Try it out:

var automapperTs = require("automapper-ts")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

automapper-ts v1.9.0

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

AutoMapper

NPM version Build Status Coverage Status

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 @ npmjs.com

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.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free