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
| Name | Type | Description |
|---|---|---|
country | string | 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")); // null63
2025-06-12
2025-07-01
34
Resolution 202/2025/QH15
nullWhat it prints (run when this page was built)