Reference · Parsing, formatting and shared types
STREET_TYPE_PROPER_CASEconstant
Each street type abbreviation in lower case, to the way the parser reports it (Ave, Xing).
Import it
import { STREET_TYPE_PROPER_CASE } from "@johnmorrisdotca/address-plus";
Definition
const STREET_TYPE_PROPER_CASE: Record<string, string>
Examples
import { STREET_TYPE_PROPER_CASE } from "@johnmorrisdotca/address-plus";
console.log(STREET_TYPE_PROPER_CASE["xing"]);
// → "Xing"XingWhat it prints (run when this page was built)