How to parse the rate.limit headers

I have solved the issue, if anyone else is looking for this, just grab the header u want from the object with [‘ratelimit-remaining’]