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 · Australian country module

AU_STREET_TYPESconstant

Australia's street types: each AS4590 abbreviation, in proper case as the parser reports it, with the word it stands for. The parser also reads the word itself, and a few spellings people use (Boulevarde, Crs, Tce).

Import it

import { AU_STREET_TYPES } from "@johnmorrisdotca/address-plus/au";

Definition

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

Examples

import { AU_STREET_TYPES } from "@johnmorrisdotca/address-plus/au";

console.log(AU_STREET_TYPES.Pde);
// → "Parade"
Parade

What it prints (run when this page was built)

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