Function node for base64 payload

Facing problem in

Creation of Function Node for base64 payload function node as i want to decode my payload.Could someone write the correct script of javascript code in function node of node red inorder to decode the payload and extract values of temperature and humidity as json outputs in node red debug

I’ve already answered in your original thread. Closing this one