The documentation says:
In addition to the information available on the
Requestobject, such as headers, Cloudflare provides additional attributes of the request using the
Attributes available on
country: the two letter country code on the request (this is the same value as the one provided by the
colo: the three letter airport code of the colo the request hit.
When I try to console.log request.cf.colo and request.cf.country it returns undefined.