-
Notifications
You must be signed in to change notification settings - Fork 36
Home
Welcome to the Arcady AutoMapper wiki! Arcady AutoMapper is a convention-based object-object mapper in JavaScript, based on the syntax of the AutoMapper .NET library.
In line with the original implementation, Arcady AutoMapper uses a fluent configuration API to define an object-object mapping strategy. The pursuit of this implementation is to reach as comparable as possible usage and functionality to the original AutoMapper implementation. For type safety (both for writing and maintaining the AutoMapper source code), Arcady has been implementing this port in TypeScript. All JavaScript files in the repository therefore are TypeScript generated files, mainly here for our Bower package's sake (http://bower.io/search/?q=arcady-automapper).
Currently, not all functionality is ported to JavaScript, but more is to come. Feel free to suggest additional features and/or priority.
Arcady AutoMapper supports the following platforms:
- TypeScript
- JavaScript
Are you new to AutoMapper? Extensive documentation is planned for the nearby future, for now please check out the Getting started page.
The source code contains unit tests (samples are yet to come) for all of the features listed above. To view the unit tests, browse the source code.
Arcady AutoMapper is registered as a Bower package, named arcady-automapper
.
Happy coding,
The Arcady devs
AutoMapperTS is Copyright © 2015 Bert Loedeman and other contributors under the MIT license.
Getting started
Mapping performance
Initialization (initialize)
Mapping configuration (createMap)
- forMember
- forSourceMember
- condition
- forAllMembers
- ignoreAllNonExisting
- convertToType
- convertUsing
- withProfile
Validation (assertConfigurationIsValid)
Mapping (map)
Currying
Custom type converters
Profiles
Chaining
Naming conventions
Asynchronous mapping
Flattening and nesting