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

DE_STREET_OPENERSconstant

The words that begin a street's name with no suffix to end it (Am Markt, An der Weide, Zum alten Hof, Im Winkel), and the adjectives that begin one (Große Bleiche, Alte Dorfstraße), in lower case.

Import it

import { DE_STREET_OPENERS } from "@johnmorrisdotca/address-plus/de";

Definition

const DE_STREET_OPENERS: readonly string[] = [
    "am",
    "an",
    "auf",
    "im",
    "in",
    "zum",
    "zur",
    "zu",
    "unter",
    "vor",
    "hinter",
    "bei",
    "beim",
    "über",
    "neben",
    "oberer",
    "obere",
    "unterer",
    "untere",
    "alte",
    "alter",
    "neue",
    "neuer",
    "große",
    "grosse",
    "kleine",
    "lange",
    "hohe",
    "breite",
    "schmale",
]

Examples

import { DE_STREET_OPENERS } from "@johnmorrisdotca/address-plus/de";

console.log(DE_STREET_OPENERS.slice(0, 5));
// → ["am","an","auf","im","in"]
[ 'am', 'an', 'auf', 'im', 'in' ]

What it prints (run when this page was built)

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