UNPKG

african-states-and-tribes

Version:

This project provides comprehensive insights into African countries, the origins of various tribes, and their geographic distributions. Built to celebrate and document Africa’s rich multicultural landscape, it allows users to explore the continent’s diver

45 lines (42 loc) 897 B
import { countries_default } from "./chunk-5AECN3B2.mjs"; import { __export } from "./chunk-6X3JIUEO.mjs"; // src/countries/zw.ts var zw_exports = {}; __export(zw_exports, { getCountry: () => getCountry, getCountryAndStates: () => getCountryAndStates, getStates: () => getStates }); async function getCountry() { return { ...countries_default["ZW"], countryCode: "ZW" }; } async function getStates() { try { const jsonTribesData = await import("./ZW-WH4BPDKQ.mjs"); return Object.values(jsonTribesData["ZW"] || {}); } catch (err) { console.warn(`\u26A0\uFE0F No tribe data found for ZW:`, err.message); return []; } } async function getCountryAndStates() { const country = await getCountry(); const states = await getStates(); return { ...country, states }; } export { getCountry, getStates, getCountryAndStates, zw_exports };