Skip to content

mnasruul/indonesia-cities-regencies

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

List of all cities/regencies in Indonesia

Install

npm install indonesia-cities-regencies --save

Example

const indonesia = require('indonesia-cities-regencies')

indonesia.getAll() // return all

indonesia.get('jak') // default limit is 10

indonesia.get('jak', 5)
[ { "name": "Kota Administrasi Jakarta Pusat",
    "island": "Jawa",
    "province": "Jakarta",
    "capital": "Menteng" },
  { "name": "Kabupaten Administrasi Kepulauan Seribu",
    "island": "Jawa",
    "province": "Jakarta",
    "capital": "Pulau Pramuka" },
  { "name": "Kota Administrasi Jakarta Barat",
    "island": "Jawa",
    "province": "Jakarta",
    "capital": "-" },
  { "name": "Kota Administrasi Jakarta Selatan",
    "island": "Jawa",
    "province": "Jakarta",
    "capital": "-" },
  { "name": "Kota Administrasi Jakarta Timur",
    "island": "Jawa",
    "province": "Jakarta",
    "capital": "Jatinegara" } ]

Credits

Used in production by

License

MIT @Aldi Priya Perdana

About

List of all Cities/Regencies in Indonesia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%