JSPM

pincode-lookup-india

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q29156F
  • License ISC

Easy pincode lookup for India

Package Exports

  • pincode-lookup-india

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

Readme

Pincode India Lookup

Easy pincode lookup for India (updated 2019)

Installation

Use the package manager npm to install pincode-lookup-india.

npm install pincode-lookup-india

Usage

const { lookup } require('pincode-lookup-india')

const data = lookup(pincode)

console.log(data)

//{
//  Region: 'Southern , Madurai',
//  Division: 'Kanniyakumari',
//  Office: 'Rajakkamangalam B.O',
//  OfficeType: 'BO',
//  District: 'KANYAKUMARI',
//  State: 'Tamil Nadu',
//  Pincode: 629502
//}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT