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 · /subdivision-reforms

subdivisionReformsfunction

The dated note of a country's subdivision rearrangement, or null when none is recorded.

The current ISO codes stay as they are. units says which of those codes the law joins, and the name it writes.

Import it

import { subdivisionReforms } from "@johnmorrisdotca/kuni/subdivision-reforms";

Definition

function subdivisionReforms(country: string): SubdivisionReform | null

Parameters

NameTypeDescription
countrystring

An ISO 3166-1 alpha-2 code, in any case.

Returns

SubdivisionReform | null

The rearrangement, or null when this package has none for that country.

Examples

import { subdivisions } from "@johnmorrisdotca/kuni/subdivisions";
import { subdivisionReforms } from "@johnmorrisdotca/kuni/subdivision-reforms";

console.log(subdivisions("VN")?.length); // 63
console.log(subdivisionReforms("VN")?.effective); // "2025-06-12"
console.log(subdivisionReforms("VN")?.operating); // "2025-07-01"
console.log(subdivisionReforms("VN")?.units.length); // 34
console.log(subdivisionReforms("vn")?.law); // "Resolution 202/2025/QH15"
console.log(subdivisionReforms("JP")); // null
63
2025-06-12
2025-07-01
34
Resolution 202/2025/QH15
null

What it prints (run when this page was built)

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