Reconstruct
Maps object into a new one using an anonymous function.
Installation
Install it using Yarn or NPM.
yarn add reconstruct # With NPM npm i reconstruct
Usage
Reconstruct provides a function to map an iterate over object value & properties returning new one to compose result.
const invert = value: property == '1': 'A' '2': 'B'
License
Released under MIT license. You can see it here.