JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 163
  • Score
    100M100P100Q86325F
  • License MIT

Simple utility to check if geographic coordinates (latitude, longitude).

Package Exports

  • check-geographic-coordinates
  • check-geographic-coordinates/check-geographic-coordinates.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (check-geographic-coordinates) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Check-geographic-coordinates

Simple utility to check if geographic coordinate (latitute and longitude) are valid.

Install

npm install check-geographic-coordinates

or

yarn add check-geographic-coordinates

Usage

const checkGeo = require('check-geographic-coordinates');

checkGeo.longitude(180.0); // true
checkGeo.latitude(90.0); //true

checkGeo.coordinates(180, 90); // true

License

MIT