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 · Japanese addresses

JP_POSTAL_EXCEPTIONSconstant

The postal codes that deliver to another prefecture than the rest of their three-digit prefix, each to that prefecture's JIS code. Generated from Japan Post's KEN_ALL.CSV through jp-postal (MIT).

Import it

import { JP_POSTAL_EXCEPTIONS } from "@johnmorrisdotca/address-plus/jp";

Also exported from: @johnmorrisdotca/address-plus

Definition

const JP_POSTAL_EXCEPTIONS: Readonly<Record<string, string>>

Examples

import { JP_POSTAL_EXCEPTIONS } from "@johnmorrisdotca/address-plus/jp";

console.log(Object.keys(JP_POSTAL_EXCEPTIONS).length > 0);
// → true
true

What it prints (run when this page was built)

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