Get nearest linode location based on client timezone
I thought I would share a little library I wrote to get the nearest linode location based on the clients or servers timezone. We needed this because we have NodeBalancers in each of the linode locations and we wanted to route a client to the closest NodeBalancer based on their timezone.
For example if a client connects from London, they would be routed to the London linode location. It works both in a client's browser or on a node server.
Check it out linode-near-location: