Reference · French country module
FR_DEPARTMENTSconstant
The 101 departments of France, in order of their codes, each with its code (75, 2A, 971), its name and its
region's. The code is how a postcode begins: its first two digits (three overseas), with Corsica's 20 split at
20200. From INSEE's Code officiel géographique (Licence Ouverte 2.0).
Import it
import { FR_DEPARTMENTS } from "@johnmorrisdotca/address-plus/fr";
Definition
const FR_DEPARTMENTS: readonly FrenchDepartment[]
Examples
import { FR_DEPARTMENTS } from "@johnmorrisdotca/address-plus/fr";
console.log(FR_DEPARTMENTS.find((department) => department.code === "2A"));
// → {"code":"2A","name":"Corse-du-Sud","region":"Corse"}{ code: '2A', name: 'Corse-du-Sud', region: 'Corse' }What it prints (run when this page was built)