Mapper
About
Mapper is very simple JavaScript library which is used to get/set data from forms or any other container. It's entirely written in TypeScript, without any external dependencies. Primary motivation for building tool like this was:
-
using .Net Core and Razor pages is very simple and fast way to build apps. In order to communicate with APIs, I needed simple way to map
data to and from forms.
-
didn't want to use libraries which introduce observables as I only wanted to map data on specific events (API data received, user clicked save, ...)
- wanted to have library which is written using vanilla typescript
- didn't want to introduce other libraries which by themselves have other dependencies which by themselves have other ...
- to modify it to automatically work with other components I usually use in projects like bootstrap datepicker, select2, ...
- to have my first public project on GitHub
How to use
This page shows only examples, to check out full documentation, please visit project's GitHub page.
Examples