1.0.6 • Published 8 months ago
deep-object-mapper v1.0.6
Deep Object Mapper
Map different bits from one object to another
Example usage:
const {
output,
} = deepMap<ElectricUpgradeKit, CombustionCar>({
input,
map: {
"kit.engine": "engine",
"kit.battery": "battery",
"gizmo": "dashboard.gloveBox"
},
})