UNPKG

@sroussey/parse-address

Version:

International street address parser for 220 jurisdictions (US, CA + 218 countries and territories), with SEC EDGAR country-code resolution

19 lines (18 loc) 981 B
import type { EuCountryConfig } from "../_eu/types.js"; /** * Israel (IL) address configuration. SEC code L3. * * Order: house NUMBER first, then the street name ("3 Ben Yehuda"). No street * type word in the normal case (typePlacement "none"); descriptors such * as Sderot/Derech/Rehov/Kikar are part of the street NAME, not a type. * Postcode: 5-digit (legacy) or 7-digit (mic7, 2013+), written LAST after the * city in the romanized comma form this parser targets (after-city). * No state/region: Israeli addresses carry no admin district on the label. * * NOTE ON ORDER: Israel Post's official multi-line label writes the postcode * BEFORE the city ("6100000 Tel Aviv-Yafo"). This config targets the far more * common romanized single-line business form ("..., Tel Aviv-Yafo, 6100000") * and treats the label order as an unhandled failure mode (see research-il.md). */ export declare const ilConfig: EuCountryConfig; export default ilConfig;