linode-near-location

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i linode-near-location

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • caramelcode