Reference · French country module
FR_BUILDING_WORDSconstant
The words that open the line naming a building, a residence or a zone (La Poste's third line), which the parser keeps
whole as building (Résidence Les Lilas, Bâtiment A, Zone industrielle Nord, ZAC des Prés), with their
abbreviations.
Import it
import { FR_BUILDING_WORDS } from "@johnmorrisdotca/address-plus/fr";
Definition
const FR_BUILDING_WORDS: Readonly<Record<string, readonly string[]>> = {
Bâtiment: ["BAT", "BATIMENT", "BÂT"],
Immeuble: ["IMM"],
Résidence: ["RES", "RESIDENCE", "RÉS"],
Tour: [],
Hall: [],
Pavillon: ["PAV"],
Palais: [],
Maison: [],
Zone: [],
ZI: [],
ZA: [],
ZAC: [],
ZAD: [],
Centre: ["CTRE", "CCAL"],
}
Examples
import { FR_BUILDING_WORDS } from "@johnmorrisdotca/address-plus/fr";
console.log(FR_BUILDING_WORDS.Bâtiment);
// → ["BAT","BATIMENT","BÂT"][ 'BAT', 'BATIMENT', 'BÂT' ]What it prints (run when this page was built)