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 · Form-associated address field

ADDRESS_FIELD_PARSE_KEYSconstant

Native parser options checked by builder coverage.

Import it

import { ADDRESS_FIELD_PARSE_KEYS } from "@johnmorrisdotca/address-plus/element";

Also exported from: @johnmorrisdotca/address-plus/element/define

Definition

const ADDRESS_FIELD_PARSE_KEYS: string[] = FIELD_PARSE_KEYS

Examples

import { ADDRESS_FIELD_PARSE_KEYS } from "@johnmorrisdotca/address-plus/element";

console.log(ADDRESS_FIELD_PARSE_KEYS.includes("strict"));
// → 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.