Skip to content
A list of zipcodes in Indonesia
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitignore
LICENSE
README.md
index.js
kodepos.json
logo.png
package.json
test.js

README.md

kodepos

Installation

$ npm install --save kodepos

Usage

const kodepos = require('kodepos');

// Get all cities
kodepos.all();

// Get city from zip
kodepos.get(10330);
//=> Cikini

// Search city + zip
kodepos.search('cempaka');
//=> { '10510': 'Cempaka Putih Timur', '10520': 'Cempaka Putih Barat' }

License

MIT © Wahyu Kristianto

You can’t perform that action at this time.