Using object-mapper to Format Your API Data and Maintain Consistency

As a full stack or front end JS developer, you’re going to find yourself spending a lot of time dealing with objects returned from an API that you will need to format to an interface that your front end expects. Maybe you are using a third party API that returns JSON data in kebab_case or has dates that are in some godawful format or proper names that aren’t capitalized…