1.0.0 • Published 7 years ago

linode-near-location v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

linode-near-location

A simple javascript function that returns the nearest Linode location based on the clients timezone

Usage

In a browser

For example a client in New York:

var linode_location = linodeNearLocation();
console.log("Nearest linode location: ", linode_location);

Outputs: Nearest linode location: Newark

On node

var near = require('./linode-near-location.js');
var linode_location = near();
console.log("Nearest linode location: ", linode_location);

Outputs: Nearest linode location: Newark

1.0.0

7 years ago