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-indiaUsage
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.