JSPM

pincode-lat-long

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q43187F
  • License ISC

Get latitude and longitude value for indian pincode.

Package Exports

  • pincode-lat-long

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 (pincode-lat-long) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pincode-lat-long

Get latitude and longitude value for indian pincode.

Features

  • Zero dependencies
  • Only Indian dataset as of now, more coming soon.

How to use

  • Include package in your project
npm install --save pincode-lat-long
or
yarn add pincode-lat-long
const pincode = require('pincode-lat-long')
console.log(pincode.getlatlong(610204))

/*
{ "lat": 26.384367,
  "long": 88.187668
}
 */