import { map } from "ramda" const double = x => x * 2; const mappedObject = map(double, {x: 1, y: 2, z: 3}); //=> {x: 2, y: 4, z: 6}