Skip to the content

Kuni国

Look up countries, codes, names and subdivisions, load country data on demand and mount a native country card.

Kuni (国) is Japanese for a country. About the name

Contents

Reference · ID subdivisions

SUBDIVISIONSconstant

The subdivisions of Indonesia, in code order, every level: 45. Also the default export.

Import it

import { SUBDIVISIONS } from "@johnmorrisdotca/kuni/subdivisions/id";

Definition

const SUBDIVISIONS: readonly Subdivision[] = expandSubdivisions(ID)

Examples

import subdivisions from "@johnmorrisdotca/kuni/subdivisions/id";

console.log(subdivisions.length);    // 45
console.log(subdivisions[0].code);   // "ID-AC"
45
ID-AC

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kuni 1.4.0.