I created this in order to count how many requests each IP is using, without sending personal data to CountAPI.xyz To accomplish this, I used Workers KV to map the IP address to a random UUID, which is used as the identifier on CountAPI.
Here's an example of what's stored in workers KV, with the user's IP as the key:
{
"userID": "5e64db68-d628-4938-9c01-0968a2f76861",
"userIP": "1.2.3.4",
"firstSeenDate": "2020-05-11T02:12:16.377Z",