Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zenlocator/geo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zenlocator/geo

geo lib

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Geo (@zenlocator/geo)

Getting started

Install geo via:

  • bower: bower install @zenlocator/geo
  • node.js: npm install --save @zenlocator/geo
  • as cli tool: npm install -g @zenlocator/geo

Use in the browser (wherever ES5 is supported):

<script type="text/javascript" src="geo.min.js"></script>
<script type="text/javascript">

  var geo = new Geo();

  var point = geo.getDestinationPoint({ lat: 37.787, lng: -122.407 }, 1000, 45);
  console.log(point); // { lat: '38° N', lng: '122° W' }

</script>

Use in Node.js:

var Geo = require('@zenlocator/geo');

var geo = new Geo();
var point = geo.getDestinationPoint({ lat: 37.787, lng: -122.407 }, 1000, 45);

console.log(point);  // { lat: '38° N', lng: '122° W' }

Or via CLI:

$ geo get-destination-point --format list 37.787,-122.407 1000 45
38° N,122° W

API

@todo

License

MIT

Keywords

FAQs

Package last updated on 03 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc