india-pincode-lookup

1.0.3 • Public • Published

India-Pincode-Lookup

Node module to easily lookup any pincode details in India.

The pincode data used in this module is provided by data.gov.in

Install using npm:

npm install india-pincode-lookup

Example usage

var pincodeDirectory = require('india-pincode-lookup');
 
pincodeDirectory.lookup('Arjun Guri');
/*[{ 
    officeName: 'Arjun Guri B.O',
    pincode: 785697,
    taluk: 'Svs',
    districtName: 'Sibsagar',
    stateName: 'ASSAM' 
    }]*/
 
 
pincodeDirectory.lookup(682028);
/*[{
    officeName: 'Vennala S.O',
    pincode: 682028,
    taluk: 'Ernakulam',
    districtName: 'Ernakulam',
    stateName: 'KERALA'
    }]*/
 
 
pincodeDirectory.lookup('600096')
/*[{
    officeName: 'Perungudi S.O',
    pincode: 600096,
    taluk: 'Saidapet',
    districtName: 'Kanchipuram',
    stateName: 'TAMIL NADU'
    }]*/

Sources

The pincode data used in the module has been provided by data.gov.in.

License

MIT

Package Sidebar

Install

npm i india-pincode-lookup

Weekly Downloads

297

Version

1.0.3

License

MIT

Last publish

Collaborators

  • mithunsasidharan