Skip to content

A convention-based object-object mapper in JavaScript, written in TypeScript. Ported from: https://github.com/AutoMapper/AutoMapper

License

Notifications You must be signed in to change notification settings

gonza-lito/AutoMapper

 
 

Repository files navigation

AutoMapper

This a nodejs port from Automapper-ts lib.

Changes:

  • Remove global scope variable
  • Refactored all ts code.
  • Changed unit test to jest
  • Removed support for currying.

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

npm install automapper-ts-node

About

A convention-based object-object mapper in JavaScript, written in TypeScript. Ported from: https://github.com/AutoMapper/AutoMapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.1%
  • JavaScript 3.7%
  • HTML 1.2%