Skip to the content

address-plusアドレスプラス

Parse, validate, format and compare addresses locally, add country modules and mount an optional native form field.

address-plus extends the parse-address style with typed results, validation, formatting and country modules. About the name

Contents

Reference · /it

IT_PROVINCESconstant

The provinces, metropolitan cities and other second-level divisions of Italy. Each has its code, its ISO 3166-2 code and its name in English and in Japanese, copied from kuni when the tables are made.

Import it

import { IT_PROVINCES } from "@johnmorrisdotca/address-plus/it";

Definition

const IT_PROVINCES: readonly PostcodeRegion[]

Examples

import { IT_PROVINCES } from "@johnmorrisdotca/address-plus/it";

console.log(IT_PROVINCES.map((region) => region.code).slice(0, 3));
// → ["AG","AL","AN"]
[ 'AG', 'AL', 'AN' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/address-plus 1.10.2.