african-states-and-tribes 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (448) hide show
  1. package/EXAMPLES.md +261 -0
  2. package/MODULAR_IMPORTS.md +162 -0
  3. package/README.md +83 -1
  4. package/dist/{AO-KTWONNYZ.mjs → AO-3WUV6HS7.mjs} +1 -1
  5. package/dist/{BF-O7TBSCCA.mjs → BF-GZ45LRSN.mjs} +1 -1
  6. package/dist/{BI-DLK4YMGO.mjs → BI-3GCTK7CF.mjs} +1 -1
  7. package/dist/{BJ-PNML7KGU.mjs → BJ-4AJ2EFGG.mjs} +1 -1
  8. package/dist/{BW-CNU7L4NH.mjs → BW-AN7LIVOT.mjs} +1 -1
  9. package/dist/{CD-3L2NXQVL.mjs → CD-JYCWONXN.mjs} +1 -1
  10. package/dist/{CF-ESX77N6V.mjs → CF-L6ZKGUE2.mjs} +1 -1
  11. package/dist/{CG-VO3X7LDQ.mjs → CG-L6Q7VBRE.mjs} +1 -1
  12. package/dist/{CI-GS6CFDT3.mjs → CI-OKLEG4C6.mjs} +1 -1
  13. package/dist/{CM-BTFLGGR5.mjs → CM-5U7UTSLM.mjs} +1 -1
  14. package/dist/{CV-UT67RQS3.mjs → CV-J3IWNECL.mjs} +1 -1
  15. package/dist/{DJ-ZMQOBOIG.mjs → DJ-WPIJRNWE.mjs} +1 -1
  16. package/dist/{DZ-LPE6ZB5C.mjs → DZ-ONSX7GR6.mjs} +1 -1
  17. package/dist/{EG-SP5CNNNV.mjs → EG-CBFPAFSO.mjs} +1 -1
  18. package/dist/{ER-UP22LPAH.mjs → ER-UC5TZBXK.mjs} +1 -1
  19. package/dist/{ET-OBCUOADT.mjs → ET-HXCBRBHN.mjs} +1 -1
  20. package/dist/{GA-MAVC3U4Q.mjs → GA-T5YWU36U.mjs} +1 -1
  21. package/dist/{GH-6ZWTNM6E.mjs → GH-BMJZWTWI.mjs} +1 -1
  22. package/dist/{GM-3TYRGF43.mjs → GM-R3VSEPTK.mjs} +1 -1
  23. package/dist/{GN-J26OKD3H.mjs → GN-DRGVYDMG.mjs} +1 -1
  24. package/dist/{GQ-TVJPRBZ4.mjs → GQ-SMAK7YCQ.mjs} +1 -1
  25. package/dist/{GW-BXXBSDB3.mjs → GW-DQPA4VJE.mjs} +1 -1
  26. package/dist/{KE-FR37ZDM6.mjs → KE-DMP37VDP.mjs} +3 -3
  27. package/dist/{KM-2T7XZQOW.mjs → KM-3F2KE6ER.mjs} +1 -1
  28. package/dist/{LR-SDYDWBD2.mjs → LR-D67J6ITO.mjs} +1 -1
  29. package/dist/{LS-WW7EJFSS.mjs → LS-QWKN3I62.mjs} +1 -1
  30. package/dist/{LY-GLNCPO5D.mjs → LY-WJBKPKU2.mjs} +1 -1
  31. package/dist/{MA-4JTQR5LC.mjs → MA-WRX5RCS2.mjs} +1 -1
  32. package/dist/{MG-V4B3MJ27.mjs → MG-R72YT5VK.mjs} +1 -1
  33. package/dist/{ML-5UC2UZFE.mjs → ML-VUAFPT44.mjs} +1 -1
  34. package/dist/{MR-V7C27OIX.mjs → MR-2E64EHZB.mjs} +1 -1
  35. package/dist/{MU-2QTJWWOZ.mjs → MU-6FUJYQWD.mjs} +1 -1
  36. package/dist/{MW-QHGL2IKS.mjs → MW-HRW5OHWN.mjs} +1 -1
  37. package/dist/{MZ-5UZ67NUU.mjs → MZ-3U5UXS5E.mjs} +1 -1
  38. package/dist/{NA-5VDTGOMK.mjs → NA-XWIW6OOU.mjs} +1 -1
  39. package/dist/{NE-ZOWNVUFW.mjs → NE-ELKMBL7S.mjs} +1 -1
  40. package/dist/{NG-RETX6WJ4.mjs → NG-4CWXAYHN.mjs} +2 -2
  41. package/dist/{RW-GQU5ZEII.mjs → RW-HNJ52BFQ.mjs} +1 -1
  42. package/dist/{SC-SY5UMMU2.mjs → SC-3DSRWYFW.mjs} +1 -1
  43. package/dist/{SD-GZVFH7EN.mjs → SD-WB6ISMGF.mjs} +1 -1
  44. package/dist/{SL-G6OQ2OKF.mjs → SL-4COV24SC.mjs} +1 -1
  45. package/dist/{SN-KDIN2VHE.mjs → SN-64VQKOL2.mjs} +1 -1
  46. package/dist/{SO-OYCQEJXC.mjs → SO-HMRU3XDI.mjs} +1 -1
  47. package/dist/{SS-VC4OP4LH.mjs → SS-TXIVIGCJ.mjs} +1 -1
  48. package/dist/{ST-W5CRCMYC.mjs → ST-VPGLJ6S4.mjs} +1 -1
  49. package/dist/{SZ-WPJM53Q7.mjs → SZ-4MEBFNNW.mjs} +1 -1
  50. package/dist/{TD-LC3R4NYM.mjs → TD-MV3TL2LQ.mjs} +1 -1
  51. package/dist/{TG-4GRO64UZ.mjs → TG-QLZJRIDX.mjs} +1 -1
  52. package/dist/{TN-KWXKNLDT.mjs → TN-ZRJRJMOM.mjs} +1 -1
  53. package/dist/{TZ-MR6WGF2A.mjs → TZ-D53PSFSF.mjs} +1 -1
  54. package/dist/{UG-UNMXRIJ5.mjs → UG-YVEGQ67T.mjs} +1 -1
  55. package/dist/{ZA-RNKH3KHE.mjs → ZA-QQ6HKOFU.mjs} +1 -1
  56. package/dist/{ZM-KVDEVKJK.mjs → ZM-KORM3A4T.mjs} +1 -1
  57. package/dist/{ZW-EFGG3D6Y.mjs → ZW-WH4BPDKQ.mjs} +1 -1
  58. package/dist/ao-BN_SJunv.d.mts +387 -0
  59. package/dist/ao-BN_SJunv.d.ts +387 -0
  60. package/dist/bf-Dqj39McS.d.mts +279 -0
  61. package/dist/bf-Dqj39McS.d.ts +279 -0
  62. package/dist/bi-Ba4A32Yt.d.mts +369 -0
  63. package/dist/bi-Ba4A32Yt.d.ts +369 -0
  64. package/dist/bj-fY_W6yBo.d.mts +255 -0
  65. package/dist/bj-fY_W6yBo.d.ts +255 -0
  66. package/dist/bw-OCC9w3C4.d.mts +243 -0
  67. package/dist/bw-OCC9w3C4.d.ts +243 -0
  68. package/dist/cd-Cpxf_ikm.d.mts +495 -0
  69. package/dist/cd-Cpxf_ikm.d.ts +495 -0
  70. package/dist/cf-CrFP7Drd.d.mts +423 -0
  71. package/dist/cf-CrFP7Drd.d.ts +423 -0
  72. package/dist/cg-BYxWa6m4.d.mts +279 -0
  73. package/dist/cg-BYxWa6m4.d.ts +279 -0
  74. package/dist/chunk-24IV36BQ.mjs +44 -0
  75. package/dist/chunk-2JSSOTED.mjs +44 -0
  76. package/dist/chunk-32VQ7KYH.mjs +44 -0
  77. package/dist/chunk-4RK2CGMU.mjs +44 -0
  78. package/dist/chunk-55XYJJC6.mjs +44 -0
  79. package/dist/chunk-5AECN3B2.mjs +1365 -0
  80. package/dist/chunk-5U5QABNG.mjs +44 -0
  81. package/dist/chunk-6X3JIUEO.mjs +15 -0
  82. package/dist/chunk-7D7GXZ7C.mjs +44 -0
  83. package/dist/chunk-A6XUT3BK.mjs +44 -0
  84. package/dist/chunk-ADPF6UU2.mjs +44 -0
  85. package/dist/chunk-BM2DB2IJ.mjs +44 -0
  86. package/dist/chunk-BNE6IOV4.mjs +44 -0
  87. package/dist/chunk-C5WTTTBO.mjs +44 -0
  88. package/dist/chunk-CMCGO53E.mjs +44 -0
  89. package/dist/chunk-CNXFY74C.mjs +44 -0
  90. package/dist/chunk-DEZJOYAK.mjs +44 -0
  91. package/dist/chunk-DSDBWR43.mjs +44 -0
  92. package/dist/chunk-E5UEB6IB.mjs +44 -0
  93. package/dist/chunk-EFVKVDU6.mjs +44 -0
  94. package/dist/chunk-F2MVYZIC.mjs +44 -0
  95. package/dist/chunk-F5MLJ47Q.mjs +44 -0
  96. package/dist/chunk-FS65WXD5.mjs +44 -0
  97. package/dist/chunk-FT3QWXGX.mjs +44 -0
  98. package/dist/chunk-GALD3KIZ.mjs +44 -0
  99. package/dist/chunk-GRFQFN2V.mjs +44 -0
  100. package/dist/chunk-H7CBD2RQ.mjs +44 -0
  101. package/dist/chunk-HKUC56VX.mjs +44 -0
  102. package/dist/chunk-ILJYIAIQ.mjs +44 -0
  103. package/dist/chunk-IXXGIOE5.mjs +44 -0
  104. package/dist/chunk-J52IN2GT.mjs +44 -0
  105. package/dist/chunk-JRCVMTYP.mjs +44 -0
  106. package/dist/chunk-KJGX4DA7.mjs +44 -0
  107. package/dist/chunk-KV35J3OC.mjs +44 -0
  108. package/dist/chunk-LD4KKW4K.mjs +44 -0
  109. package/dist/chunk-LFHXGI7U.mjs +44 -0
  110. package/dist/chunk-LMVVJ5K4.mjs +44 -0
  111. package/dist/chunk-LNDPDKVK.mjs +44 -0
  112. package/dist/chunk-LW5ZKSQJ.mjs +44 -0
  113. package/dist/chunk-OAHXYNQF.mjs +44 -0
  114. package/dist/chunk-QKFXNE45.mjs +44 -0
  115. package/dist/chunk-R6M3OJ43.mjs +44 -0
  116. package/dist/chunk-SUPWL4GX.mjs +44 -0
  117. package/dist/chunk-TJZLVPTQ.mjs +44 -0
  118. package/dist/chunk-UD2BPOD5.mjs +44 -0
  119. package/dist/chunk-UW3ZFE2X.mjs +44 -0
  120. package/dist/chunk-V4PVQKP6.mjs +44 -0
  121. package/dist/chunk-VDMRWF3T.mjs +44 -0
  122. package/dist/chunk-VHZOL65Z.mjs +44 -0
  123. package/dist/chunk-WP2RKQ3V.mjs +44 -0
  124. package/dist/chunk-XCYPHKIQ.mjs +44 -0
  125. package/dist/chunk-XLX4VLR6.mjs +44 -0
  126. package/dist/chunk-XR7X4QMD.mjs +44 -0
  127. package/dist/chunk-Y6AB3PCO.mjs +44 -0
  128. package/dist/chunk-YERFHYYM.mjs +44 -0
  129. package/dist/chunk-YSETRABU.mjs +44 -0
  130. package/dist/ci-C4EwPqRx.d.mts +333 -0
  131. package/dist/ci-C4EwPqRx.d.ts +333 -0
  132. package/dist/cm-DFrkXf2R.d.mts +243 -0
  133. package/dist/cm-DFrkXf2R.d.ts +243 -0
  134. package/dist/countries/ao.d.mts +1 -0
  135. package/dist/countries/ao.d.ts +1 -0
  136. package/dist/countries/ao.js +1622 -0
  137. package/dist/countries/ao.mjs +12 -0
  138. package/dist/countries/bf.d.mts +1 -0
  139. package/dist/countries/bf.d.ts +1 -0
  140. package/dist/countries/bf.js +1562 -0
  141. package/dist/countries/bf.mjs +12 -0
  142. package/dist/countries/bi.d.mts +1 -0
  143. package/dist/countries/bi.d.ts +1 -0
  144. package/dist/countries/bi.js +1612 -0
  145. package/dist/countries/bi.mjs +12 -0
  146. package/dist/countries/bj.d.mts +1 -0
  147. package/dist/countries/bj.d.ts +1 -0
  148. package/dist/countries/bj.js +1550 -0
  149. package/dist/countries/bj.mjs +12 -0
  150. package/dist/countries/bw.d.mts +1 -0
  151. package/dist/countries/bw.d.ts +1 -0
  152. package/dist/countries/bw.js +1542 -0
  153. package/dist/countries/bw.mjs +12 -0
  154. package/dist/countries/cd.d.mts +1 -0
  155. package/dist/countries/cd.d.ts +1 -0
  156. package/dist/countries/cd.js +1682 -0
  157. package/dist/countries/cd.mjs +12 -0
  158. package/dist/countries/cf.d.mts +1 -0
  159. package/dist/countries/cf.d.ts +1 -0
  160. package/dist/countries/cf.js +1642 -0
  161. package/dist/countries/cf.mjs +12 -0
  162. package/dist/countries/cg.d.mts +1 -0
  163. package/dist/countries/cg.d.ts +1 -0
  164. package/dist/countries/cg.js +1562 -0
  165. package/dist/countries/cg.mjs +12 -0
  166. package/dist/countries/ci.d.mts +1 -0
  167. package/dist/countries/ci.d.ts +1 -0
  168. package/dist/countries/ci.js +1592 -0
  169. package/dist/countries/ci.mjs +12 -0
  170. package/dist/countries/cm.d.mts +1 -0
  171. package/dist/countries/cm.d.ts +1 -0
  172. package/dist/countries/cm.js +1542 -0
  173. package/dist/countries/cm.mjs +12 -0
  174. package/dist/countries/cv.d.mts +1 -0
  175. package/dist/countries/cv.d.ts +1 -0
  176. package/dist/countries/cv.js +1672 -0
  177. package/dist/countries/cv.mjs +12 -0
  178. package/dist/countries/dj.d.mts +1 -0
  179. package/dist/countries/dj.d.ts +1 -0
  180. package/dist/countries/dj.js +1482 -0
  181. package/dist/countries/dj.mjs +12 -0
  182. package/dist/countries/dz.d.mts +1 -0
  183. package/dist/countries/dz.d.ts +1 -0
  184. package/dist/countries/dz.js +1964 -0
  185. package/dist/countries/dz.mjs +12 -0
  186. package/dist/countries/eg.d.mts +1 -0
  187. package/dist/countries/eg.d.ts +1 -0
  188. package/dist/countries/eg.js +1718 -0
  189. package/dist/countries/eg.mjs +12 -0
  190. package/dist/countries/er.d.mts +1 -0
  191. package/dist/countries/er.d.ts +1 -0
  192. package/dist/countries/er.js +1502 -0
  193. package/dist/countries/er.mjs +12 -0
  194. package/dist/countries/et.d.mts +1 -0
  195. package/dist/countries/et.d.ts +1 -0
  196. package/dist/countries/et.js +1542 -0
  197. package/dist/countries/et.mjs +12 -0
  198. package/dist/countries/ga.d.mts +1 -0
  199. package/dist/countries/ga.d.ts +1 -0
  200. package/dist/countries/ga.js +1532 -0
  201. package/dist/countries/ga.mjs +12 -0
  202. package/dist/countries/gh.d.mts +1 -0
  203. package/dist/countries/gh.d.ts +1 -0
  204. package/dist/countries/gh.js +1602 -0
  205. package/dist/countries/gh.mjs +12 -0
  206. package/dist/countries/gm.d.mts +1 -0
  207. package/dist/countries/gm.d.ts +1 -0
  208. package/dist/countries/gm.js +1512 -0
  209. package/dist/countries/gm.mjs +12 -0
  210. package/dist/countries/gn.d.mts +1 -0
  211. package/dist/countries/gn.d.ts +1 -0
  212. package/dist/countries/gn.js +1522 -0
  213. package/dist/countries/gn.mjs +12 -0
  214. package/dist/countries/gq.d.mts +1 -0
  215. package/dist/countries/gq.d.ts +1 -0
  216. package/dist/countries/gq.js +1492 -0
  217. package/dist/countries/gq.mjs +12 -0
  218. package/dist/countries/gw.d.mts +1 -0
  219. package/dist/countries/gw.d.ts +1 -0
  220. package/dist/countries/gw.js +1532 -0
  221. package/dist/countries/gw.mjs +12 -0
  222. package/dist/countries/index.d.mts +54 -0
  223. package/dist/countries/index.d.ts +54 -0
  224. package/dist/countries/index.js +13136 -0
  225. package/dist/countries/index.mjs +220 -0
  226. package/dist/countries/ke.d.mts +1 -0
  227. package/dist/countries/ke.d.ts +1 -0
  228. package/dist/countries/ke.js +1762 -0
  229. package/dist/countries/ke.mjs +12 -0
  230. package/dist/countries/km.d.mts +1 -0
  231. package/dist/countries/km.d.ts +1 -0
  232. package/dist/countries/km.js +1472 -0
  233. package/dist/countries/km.mjs +12 -0
  234. package/dist/countries/lr.d.mts +1 -0
  235. package/dist/countries/lr.d.ts +1 -0
  236. package/dist/countries/lr.js +1592 -0
  237. package/dist/countries/lr.mjs +12 -0
  238. package/dist/countries/ls.d.mts +1 -0
  239. package/dist/countries/ls.d.ts +1 -0
  240. package/dist/countries/ls.js +1542 -0
  241. package/dist/countries/ls.mjs +12 -0
  242. package/dist/countries/ly.d.mts +1 -0
  243. package/dist/countries/ly.d.ts +1 -0
  244. package/dist/countries/ly.js +1582 -0
  245. package/dist/countries/ly.mjs +12 -0
  246. package/dist/countries/ma.d.mts +1 -0
  247. package/dist/countries/ma.d.ts +1 -0
  248. package/dist/countries/ma.js +1572 -0
  249. package/dist/countries/ma.mjs +12 -0
  250. package/dist/countries/mg.d.mts +1 -0
  251. package/dist/countries/mg.d.ts +1 -0
  252. package/dist/countries/mg.js +1502 -0
  253. package/dist/countries/mg.mjs +12 -0
  254. package/dist/countries/ml.d.mts +1 -0
  255. package/dist/countries/ml.d.ts +1 -0
  256. package/dist/countries/ml.js +1632 -0
  257. package/dist/countries/ml.mjs +12 -0
  258. package/dist/countries/mr.d.mts +1 -0
  259. package/dist/countries/mr.d.ts +1 -0
  260. package/dist/countries/mr.js +1592 -0
  261. package/dist/countries/mr.mjs +12 -0
  262. package/dist/countries/mu.d.mts +1 -0
  263. package/dist/countries/mu.d.ts +1 -0
  264. package/dist/countries/mu.js +1542 -0
  265. package/dist/countries/mu.mjs +12 -0
  266. package/dist/countries/mw.d.mts +1 -0
  267. package/dist/countries/mw.d.ts +1 -0
  268. package/dist/countries/mw.js +1662 -0
  269. package/dist/countries/mw.mjs +12 -0
  270. package/dist/countries/mz.d.mts +1 -0
  271. package/dist/countries/mz.d.ts +1 -0
  272. package/dist/countries/mz.js +1552 -0
  273. package/dist/countries/mz.mjs +12 -0
  274. package/dist/countries/na.d.mts +1 -0
  275. package/dist/countries/na.d.ts +1 -0
  276. package/dist/countries/na.js +1582 -0
  277. package/dist/countries/na.mjs +12 -0
  278. package/dist/countries/ne.d.mts +1 -0
  279. package/dist/countries/ne.d.ts +1 -0
  280. package/dist/countries/ne.js +1522 -0
  281. package/dist/countries/ne.mjs +12 -0
  282. package/dist/countries/ng.d.mts +1 -0
  283. package/dist/countries/ng.d.ts +1 -0
  284. package/dist/countries/ng.js +3061 -0
  285. package/dist/countries/ng.mjs +12 -0
  286. package/dist/countries/rw.d.mts +1 -0
  287. package/dist/countries/rw.d.ts +1 -0
  288. package/dist/countries/rw.js +1487 -0
  289. package/dist/countries/rw.mjs +12 -0
  290. package/dist/countries/sc.d.mts +1 -0
  291. package/dist/countries/sc.d.ts +1 -0
  292. package/dist/countries/sc.js +1702 -0
  293. package/dist/countries/sc.mjs +12 -0
  294. package/dist/countries/sd.d.mts +1 -0
  295. package/dist/countries/sd.d.ts +1 -0
  296. package/dist/countries/sd.js +1622 -0
  297. package/dist/countries/sd.mjs +12 -0
  298. package/dist/countries/sl.d.mts +1 -0
  299. package/dist/countries/sl.d.ts +1 -0
  300. package/dist/countries/sl.js +1502 -0
  301. package/dist/countries/sl.mjs +12 -0
  302. package/dist/countries/sn.d.mts +1 -0
  303. package/dist/countries/sn.d.ts +1 -0
  304. package/dist/countries/sn.js +1582 -0
  305. package/dist/countries/sn.mjs +12 -0
  306. package/dist/countries/so.d.mts +1 -0
  307. package/dist/countries/so.d.ts +1 -0
  308. package/dist/countries/so.js +1622 -0
  309. package/dist/countries/so.mjs +12 -0
  310. package/dist/countries/ss.d.mts +1 -0
  311. package/dist/countries/ss.d.ts +1 -0
  312. package/dist/countries/ss.js +1439 -0
  313. package/dist/countries/ss.mjs +12 -0
  314. package/dist/countries/st.d.mts +1 -0
  315. package/dist/countries/st.d.ts +1 -0
  316. package/dist/countries/st.js +1462 -0
  317. package/dist/countries/st.mjs +12 -0
  318. package/dist/countries/sz.d.mts +1 -0
  319. package/dist/countries/sz.d.ts +1 -0
  320. package/dist/countries/sz.js +1502 -0
  321. package/dist/countries/sz.mjs +12 -0
  322. package/dist/countries/td.d.mts +1 -0
  323. package/dist/countries/td.d.ts +1 -0
  324. package/dist/countries/td.js +1673 -0
  325. package/dist/countries/td.mjs +12 -0
  326. package/dist/countries/tg.d.mts +1 -0
  327. package/dist/countries/tg.d.ts +1 -0
  328. package/dist/countries/tg.js +1492 -0
  329. package/dist/countries/tg.mjs +12 -0
  330. package/dist/countries/tn.d.mts +1 -0
  331. package/dist/countries/tn.d.ts +1 -0
  332. package/dist/countries/tn.js +1945 -0
  333. package/dist/countries/tn.mjs +12 -0
  334. package/dist/countries/tz.d.mts +1 -0
  335. package/dist/countries/tz.d.ts +1 -0
  336. package/dist/countries/tz.js +1652 -0
  337. package/dist/countries/tz.mjs +12 -0
  338. package/dist/countries/ug.d.mts +1 -0
  339. package/dist/countries/ug.d.ts +1 -0
  340. package/dist/countries/ug.js +1832 -0
  341. package/dist/countries/ug.mjs +12 -0
  342. package/dist/countries/za.d.mts +1 -0
  343. package/dist/countries/za.d.ts +1 -0
  344. package/dist/countries/za.js +1532 -0
  345. package/dist/countries/za.mjs +12 -0
  346. package/dist/countries/zm.d.mts +1 -0
  347. package/dist/countries/zm.d.ts +1 -0
  348. package/dist/countries/zm.js +1542 -0
  349. package/dist/countries/zm.mjs +12 -0
  350. package/dist/countries/zw.d.mts +1 -0
  351. package/dist/countries/zw.d.ts +1 -0
  352. package/dist/countries/zw.js +1542 -0
  353. package/dist/countries/zw.mjs +12 -0
  354. package/dist/cv-CtibnUiy.d.mts +477 -0
  355. package/dist/cv-CtibnUiy.d.ts +477 -0
  356. package/dist/dj-BQlP5JJi.d.mts +135 -0
  357. package/dist/dj-BQlP5JJi.d.ts +135 -0
  358. package/dist/dz-BOMFyjje.d.mts +991 -0
  359. package/dist/dz-BOMFyjje.d.ts +991 -0
  360. package/dist/eg-PBCrCZ6T.d.mts +549 -0
  361. package/dist/eg-PBCrCZ6T.d.ts +549 -0
  362. package/dist/er-5zA2hEWZ.d.mts +171 -0
  363. package/dist/er-5zA2hEWZ.d.ts +171 -0
  364. package/dist/et-BDJKxIIa.d.mts +237 -0
  365. package/dist/et-BDJKxIIa.d.ts +237 -0
  366. package/dist/ga-Cc-q2sgL.d.mts +225 -0
  367. package/dist/ga-Cc-q2sgL.d.ts +225 -0
  368. package/dist/gh-DmDOd5ct.d.mts +351 -0
  369. package/dist/gh-DmDOd5ct.d.ts +351 -0
  370. package/dist/gm-D0b9dn3Y.d.mts +189 -0
  371. package/dist/gm-D0b9dn3Y.d.ts +189 -0
  372. package/dist/gn-BJptW1BM.d.mts +207 -0
  373. package/dist/gn-BJptW1BM.d.ts +207 -0
  374. package/dist/gq-BeMrVbTH.d.mts +153 -0
  375. package/dist/gq-BeMrVbTH.d.ts +153 -0
  376. package/dist/gw-CZCuWEUw.d.mts +225 -0
  377. package/dist/gw-CZCuWEUw.d.ts +225 -0
  378. package/dist/index.d.mts +43 -1
  379. package/dist/index.d.ts +43 -1
  380. package/dist/index.js +37 -7
  381. package/dist/index.mjs +88 -1418
  382. package/dist/ke-BBmGgMWl.d.mts +639 -0
  383. package/dist/ke-BBmGgMWl.d.ts +639 -0
  384. package/dist/km-3puK4Scm.d.mts +117 -0
  385. package/dist/km-3puK4Scm.d.ts +117 -0
  386. package/dist/lr-BBOmopNl.d.mts +327 -0
  387. package/dist/lr-BBOmopNl.d.ts +327 -0
  388. package/dist/ls-CdxRNwoL.d.mts +243 -0
  389. package/dist/ls-CdxRNwoL.d.ts +243 -0
  390. package/dist/ly-Bllzpebp.d.mts +315 -0
  391. package/dist/ly-Bllzpebp.d.ts +315 -0
  392. package/dist/ma-C4oUSDzO.d.mts +297 -0
  393. package/dist/ma-C4oUSDzO.d.ts +297 -0
  394. package/dist/mg-BG0omeiq.d.mts +171 -0
  395. package/dist/mg-BG0omeiq.d.ts +171 -0
  396. package/dist/ml-C4YwmTOg.d.mts +405 -0
  397. package/dist/ml-C4YwmTOg.d.ts +405 -0
  398. package/dist/mr-S9qYSgqU.d.mts +333 -0
  399. package/dist/mr-S9qYSgqU.d.ts +333 -0
  400. package/dist/mu-CfWnCIpO.d.mts +63 -0
  401. package/dist/mu-CfWnCIpO.d.ts +63 -0
  402. package/dist/mw-DLdVyy4w.d.mts +459 -0
  403. package/dist/mw-DLdVyy4w.d.ts +459 -0
  404. package/dist/mz-8gAPay7-.d.mts +261 -0
  405. package/dist/mz-8gAPay7-.d.ts +261 -0
  406. package/dist/na-BBfqqruE.d.mts +315 -0
  407. package/dist/na-BBfqqruE.d.ts +315 -0
  408. package/dist/ne-D02x884b.d.mts +207 -0
  409. package/dist/ne-D02x884b.d.ts +207 -0
  410. package/dist/ng-ByrcukXA.d.mts +729 -0
  411. package/dist/ng-ByrcukXA.d.ts +729 -0
  412. package/dist/rw-C_8vnNs_.d.mts +143 -0
  413. package/dist/rw-C_8vnNs_.d.ts +143 -0
  414. package/dist/sc-4eJgrGsN.d.mts +531 -0
  415. package/dist/sc-4eJgrGsN.d.ts +531 -0
  416. package/dist/sd-Ba0Glc9g.d.mts +387 -0
  417. package/dist/sd-Ba0Glc9g.d.ts +387 -0
  418. package/dist/sl-DARwWL4M.d.mts +171 -0
  419. package/dist/sl-DARwWL4M.d.ts +171 -0
  420. package/dist/sn-Cg4GW7Q-.d.mts +315 -0
  421. package/dist/sn-Cg4GW7Q-.d.ts +315 -0
  422. package/dist/so-CecZZSsk.d.mts +387 -0
  423. package/dist/so-CecZZSsk.d.ts +387 -0
  424. package/dist/ss-CVBT7yYs.d.mts +63 -0
  425. package/dist/ss-CVBT7yYs.d.ts +63 -0
  426. package/dist/st-EOo_jDus.d.mts +99 -0
  427. package/dist/st-EOo_jDus.d.ts +99 -0
  428. package/dist/sz-LbYDA00P.d.mts +171 -0
  429. package/dist/sz-LbYDA00P.d.ts +171 -0
  430. package/dist/td-xhT3S_h2.d.mts +459 -0
  431. package/dist/td-xhT3S_h2.d.ts +459 -0
  432. package/dist/tg-TXAqBUFn.d.mts +153 -0
  433. package/dist/tg-TXAqBUFn.d.ts +153 -0
  434. package/dist/tn-Dhzs1vda.d.mts +495 -0
  435. package/dist/tn-Dhzs1vda.d.ts +495 -0
  436. package/dist/tz-CWrcjdIl.d.mts +441 -0
  437. package/dist/tz-CWrcjdIl.d.ts +441 -0
  438. package/dist/ug-CFvVIavv.d.mts +765 -0
  439. package/dist/ug-CFvVIavv.d.ts +765 -0
  440. package/dist/za-DO6TQB4z.d.mts +225 -0
  441. package/dist/za-DO6TQB4z.d.ts +225 -0
  442. package/dist/zm-DHXyd4jg.d.mts +243 -0
  443. package/dist/zm-DHXyd4jg.d.ts +243 -0
  444. package/dist/zw-BdKdGHba.d.mts +243 -0
  445. package/dist/zw-BdKdGHba.d.ts +243 -0
  446. package/jest.config.js +11 -0
  447. package/package.json +291 -4
  448. package/dist/chunk-4UEJOM6W.mjs +0 -9
@@ -0,0 +1,225 @@
1
+ /**
2
+ * Get Guinea-Bissau country data
3
+ * @returns Guinea-Bissau country object
4
+ */
5
+ declare function getCountry(): Promise<{
6
+ countryCode: string;
7
+ phoneCode: number;
8
+ capitalCity: string;
9
+ colonialMaster: {
10
+ name: string;
11
+ countryCode: string;
12
+ }[];
13
+ flagEmoji: string;
14
+ name: string;
15
+ currency: string;
16
+ currencyCode: string;
17
+ currencySymbol: string;
18
+ officialLanguage: string;
19
+ majorEthnicGroups: string[];
20
+ timezones: {
21
+ iana: string;
22
+ gmtOffset: string;
23
+ }[];
24
+ }>;
25
+ /**
26
+ * Get Guinea-Bissau states/tribes data
27
+ * @returns Array of state/tribe data for Guinea-Bissau
28
+ */
29
+ declare function getStates(): Promise<({
30
+ capitalCity: string;
31
+ subdivisions: string[];
32
+ geoPoliticalZone: string;
33
+ location: string;
34
+ name: string;
35
+ stateCode: string;
36
+ tribes: string[];
37
+ type: string;
38
+ } | {
39
+ capitalCity: string;
40
+ subdivisions: string[];
41
+ geoPoliticalZone: string;
42
+ location: string;
43
+ name: string;
44
+ stateCode: string;
45
+ tribes: string[];
46
+ type: string;
47
+ } | {
48
+ capitalCity: string;
49
+ subdivisions: string[];
50
+ geoPoliticalZone: string;
51
+ location: string;
52
+ name: string;
53
+ stateCode: string;
54
+ tribes: string[];
55
+ type: string;
56
+ } | {
57
+ capitalCity: string;
58
+ subdivisions: string[];
59
+ geoPoliticalZone: string;
60
+ location: string;
61
+ name: string;
62
+ stateCode: string;
63
+ tribes: string[];
64
+ type: string;
65
+ } | {
66
+ capitalCity: string;
67
+ subdivisions: string[];
68
+ geoPoliticalZone: string;
69
+ location: string;
70
+ name: string;
71
+ stateCode: string;
72
+ tribes: string[];
73
+ type: string;
74
+ } | {
75
+ capitalCity: string;
76
+ subdivisions: string[];
77
+ geoPoliticalZone: string;
78
+ location: string;
79
+ name: string;
80
+ stateCode: string;
81
+ tribes: string[];
82
+ type: string;
83
+ } | {
84
+ capitalCity: string;
85
+ subdivisions: string[];
86
+ geoPoliticalZone: string;
87
+ location: string;
88
+ name: string;
89
+ stateCode: string;
90
+ tribes: string[];
91
+ type: string;
92
+ } | {
93
+ capitalCity: string;
94
+ subdivisions: string[];
95
+ geoPoliticalZone: string;
96
+ location: string;
97
+ name: string;
98
+ stateCode: string;
99
+ tribes: string[];
100
+ type: string;
101
+ } | {
102
+ capitalCity: string;
103
+ subdivisions: string[];
104
+ geoPoliticalZone: string;
105
+ location: string;
106
+ name: string;
107
+ stateCode: string;
108
+ tribes: string[];
109
+ type: string;
110
+ })[]>;
111
+ /**
112
+ * Get Guinea-Bissau country with states/tribes data
113
+ * @returns Guinea-Bissau country object with states property
114
+ */
115
+ declare function getCountryAndStates(): Promise<{
116
+ states: ({
117
+ capitalCity: string;
118
+ subdivisions: string[];
119
+ geoPoliticalZone: string;
120
+ location: string;
121
+ name: string;
122
+ stateCode: string;
123
+ tribes: string[];
124
+ type: string;
125
+ } | {
126
+ capitalCity: string;
127
+ subdivisions: string[];
128
+ geoPoliticalZone: string;
129
+ location: string;
130
+ name: string;
131
+ stateCode: string;
132
+ tribes: string[];
133
+ type: string;
134
+ } | {
135
+ capitalCity: string;
136
+ subdivisions: string[];
137
+ geoPoliticalZone: string;
138
+ location: string;
139
+ name: string;
140
+ stateCode: string;
141
+ tribes: string[];
142
+ type: string;
143
+ } | {
144
+ capitalCity: string;
145
+ subdivisions: string[];
146
+ geoPoliticalZone: string;
147
+ location: string;
148
+ name: string;
149
+ stateCode: string;
150
+ tribes: string[];
151
+ type: string;
152
+ } | {
153
+ capitalCity: string;
154
+ subdivisions: string[];
155
+ geoPoliticalZone: string;
156
+ location: string;
157
+ name: string;
158
+ stateCode: string;
159
+ tribes: string[];
160
+ type: string;
161
+ } | {
162
+ capitalCity: string;
163
+ subdivisions: string[];
164
+ geoPoliticalZone: string;
165
+ location: string;
166
+ name: string;
167
+ stateCode: string;
168
+ tribes: string[];
169
+ type: string;
170
+ } | {
171
+ capitalCity: string;
172
+ subdivisions: string[];
173
+ geoPoliticalZone: string;
174
+ location: string;
175
+ name: string;
176
+ stateCode: string;
177
+ tribes: string[];
178
+ type: string;
179
+ } | {
180
+ capitalCity: string;
181
+ subdivisions: string[];
182
+ geoPoliticalZone: string;
183
+ location: string;
184
+ name: string;
185
+ stateCode: string;
186
+ tribes: string[];
187
+ type: string;
188
+ } | {
189
+ capitalCity: string;
190
+ subdivisions: string[];
191
+ geoPoliticalZone: string;
192
+ location: string;
193
+ name: string;
194
+ stateCode: string;
195
+ tribes: string[];
196
+ type: string;
197
+ })[];
198
+ countryCode: string;
199
+ phoneCode: number;
200
+ capitalCity: string;
201
+ colonialMaster: {
202
+ name: string;
203
+ countryCode: string;
204
+ }[];
205
+ flagEmoji: string;
206
+ name: string;
207
+ currency: string;
208
+ currencyCode: string;
209
+ currencySymbol: string;
210
+ officialLanguage: string;
211
+ majorEthnicGroups: string[];
212
+ timezones: {
213
+ iana: string;
214
+ gmtOffset: string;
215
+ }[];
216
+ }>;
217
+
218
+ declare const gw_getCountry: typeof getCountry;
219
+ declare const gw_getCountryAndStates: typeof getCountryAndStates;
220
+ declare const gw_getStates: typeof getStates;
221
+ declare namespace gw {
222
+ export { gw_getCountry as getCountry, gw_getCountryAndStates as getCountryAndStates, gw_getStates as getStates };
223
+ }
224
+
225
+ export { getCountry as a, getStates as b, getCountryAndStates as c, gw as g };
@@ -0,0 +1,225 @@
1
+ /**
2
+ * Get Guinea-Bissau country data
3
+ * @returns Guinea-Bissau country object
4
+ */
5
+ declare function getCountry(): Promise<{
6
+ countryCode: string;
7
+ phoneCode: number;
8
+ capitalCity: string;
9
+ colonialMaster: {
10
+ name: string;
11
+ countryCode: string;
12
+ }[];
13
+ flagEmoji: string;
14
+ name: string;
15
+ currency: string;
16
+ currencyCode: string;
17
+ currencySymbol: string;
18
+ officialLanguage: string;
19
+ majorEthnicGroups: string[];
20
+ timezones: {
21
+ iana: string;
22
+ gmtOffset: string;
23
+ }[];
24
+ }>;
25
+ /**
26
+ * Get Guinea-Bissau states/tribes data
27
+ * @returns Array of state/tribe data for Guinea-Bissau
28
+ */
29
+ declare function getStates(): Promise<({
30
+ capitalCity: string;
31
+ subdivisions: string[];
32
+ geoPoliticalZone: string;
33
+ location: string;
34
+ name: string;
35
+ stateCode: string;
36
+ tribes: string[];
37
+ type: string;
38
+ } | {
39
+ capitalCity: string;
40
+ subdivisions: string[];
41
+ geoPoliticalZone: string;
42
+ location: string;
43
+ name: string;
44
+ stateCode: string;
45
+ tribes: string[];
46
+ type: string;
47
+ } | {
48
+ capitalCity: string;
49
+ subdivisions: string[];
50
+ geoPoliticalZone: string;
51
+ location: string;
52
+ name: string;
53
+ stateCode: string;
54
+ tribes: string[];
55
+ type: string;
56
+ } | {
57
+ capitalCity: string;
58
+ subdivisions: string[];
59
+ geoPoliticalZone: string;
60
+ location: string;
61
+ name: string;
62
+ stateCode: string;
63
+ tribes: string[];
64
+ type: string;
65
+ } | {
66
+ capitalCity: string;
67
+ subdivisions: string[];
68
+ geoPoliticalZone: string;
69
+ location: string;
70
+ name: string;
71
+ stateCode: string;
72
+ tribes: string[];
73
+ type: string;
74
+ } | {
75
+ capitalCity: string;
76
+ subdivisions: string[];
77
+ geoPoliticalZone: string;
78
+ location: string;
79
+ name: string;
80
+ stateCode: string;
81
+ tribes: string[];
82
+ type: string;
83
+ } | {
84
+ capitalCity: string;
85
+ subdivisions: string[];
86
+ geoPoliticalZone: string;
87
+ location: string;
88
+ name: string;
89
+ stateCode: string;
90
+ tribes: string[];
91
+ type: string;
92
+ } | {
93
+ capitalCity: string;
94
+ subdivisions: string[];
95
+ geoPoliticalZone: string;
96
+ location: string;
97
+ name: string;
98
+ stateCode: string;
99
+ tribes: string[];
100
+ type: string;
101
+ } | {
102
+ capitalCity: string;
103
+ subdivisions: string[];
104
+ geoPoliticalZone: string;
105
+ location: string;
106
+ name: string;
107
+ stateCode: string;
108
+ tribes: string[];
109
+ type: string;
110
+ })[]>;
111
+ /**
112
+ * Get Guinea-Bissau country with states/tribes data
113
+ * @returns Guinea-Bissau country object with states property
114
+ */
115
+ declare function getCountryAndStates(): Promise<{
116
+ states: ({
117
+ capitalCity: string;
118
+ subdivisions: string[];
119
+ geoPoliticalZone: string;
120
+ location: string;
121
+ name: string;
122
+ stateCode: string;
123
+ tribes: string[];
124
+ type: string;
125
+ } | {
126
+ capitalCity: string;
127
+ subdivisions: string[];
128
+ geoPoliticalZone: string;
129
+ location: string;
130
+ name: string;
131
+ stateCode: string;
132
+ tribes: string[];
133
+ type: string;
134
+ } | {
135
+ capitalCity: string;
136
+ subdivisions: string[];
137
+ geoPoliticalZone: string;
138
+ location: string;
139
+ name: string;
140
+ stateCode: string;
141
+ tribes: string[];
142
+ type: string;
143
+ } | {
144
+ capitalCity: string;
145
+ subdivisions: string[];
146
+ geoPoliticalZone: string;
147
+ location: string;
148
+ name: string;
149
+ stateCode: string;
150
+ tribes: string[];
151
+ type: string;
152
+ } | {
153
+ capitalCity: string;
154
+ subdivisions: string[];
155
+ geoPoliticalZone: string;
156
+ location: string;
157
+ name: string;
158
+ stateCode: string;
159
+ tribes: string[];
160
+ type: string;
161
+ } | {
162
+ capitalCity: string;
163
+ subdivisions: string[];
164
+ geoPoliticalZone: string;
165
+ location: string;
166
+ name: string;
167
+ stateCode: string;
168
+ tribes: string[];
169
+ type: string;
170
+ } | {
171
+ capitalCity: string;
172
+ subdivisions: string[];
173
+ geoPoliticalZone: string;
174
+ location: string;
175
+ name: string;
176
+ stateCode: string;
177
+ tribes: string[];
178
+ type: string;
179
+ } | {
180
+ capitalCity: string;
181
+ subdivisions: string[];
182
+ geoPoliticalZone: string;
183
+ location: string;
184
+ name: string;
185
+ stateCode: string;
186
+ tribes: string[];
187
+ type: string;
188
+ } | {
189
+ capitalCity: string;
190
+ subdivisions: string[];
191
+ geoPoliticalZone: string;
192
+ location: string;
193
+ name: string;
194
+ stateCode: string;
195
+ tribes: string[];
196
+ type: string;
197
+ })[];
198
+ countryCode: string;
199
+ phoneCode: number;
200
+ capitalCity: string;
201
+ colonialMaster: {
202
+ name: string;
203
+ countryCode: string;
204
+ }[];
205
+ flagEmoji: string;
206
+ name: string;
207
+ currency: string;
208
+ currencyCode: string;
209
+ currencySymbol: string;
210
+ officialLanguage: string;
211
+ majorEthnicGroups: string[];
212
+ timezones: {
213
+ iana: string;
214
+ gmtOffset: string;
215
+ }[];
216
+ }>;
217
+
218
+ declare const gw_getCountry: typeof getCountry;
219
+ declare const gw_getCountryAndStates: typeof getCountryAndStates;
220
+ declare const gw_getStates: typeof getStates;
221
+ declare namespace gw {
222
+ export { gw_getCountry as getCountry, gw_getCountryAndStates as getCountryAndStates, gw_getStates as getStates };
223
+ }
224
+
225
+ export { getCountry as a, getStates as b, getCountryAndStates as c, gw as g };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,20 @@
1
+ type RegionResult = {
2
+ capitalCity: string;
3
+ country: string;
4
+ countryCode: string;
5
+ geoPoliticalZone: string;
6
+ location: string;
7
+ name: string;
8
+ stateCode: string;
9
+ subdivisions: string[];
10
+ tribes: string[];
11
+ type: string;
12
+ };
13
+
14
+ /**
15
+ * Retrieves all African countries with their metadata.
16
+ * @returns Array of country objects with countryCode property.
17
+ */
1
18
  declare function getCountries(): Promise<({
2
19
  countryCode: string;
3
20
  phoneCode: number;
@@ -1019,6 +1036,10 @@ declare function getCountries(): Promise<({
1019
1036
  gmtOffset: string;
1020
1037
  }[];
1021
1038
  })[]>;
1039
+ /**
1040
+ * Retrieves all African countries and embeds their tribe data as states.
1041
+ * @returns Array of country objects with states property containing tribe data.
1042
+ */
1022
1043
  declare function getCountriesAndStates(): Promise<({
1023
1044
  states: unknown[];
1024
1045
  countryCode: string;
@@ -2094,8 +2115,29 @@ declare function getCountriesAndStates(): Promise<({
2094
2115
  gmtOffset: string;
2095
2116
  }[];
2096
2117
  })[]>;
2118
+ /**
2119
+ * Retrieves a single African country by its code.
2120
+ * @param countryCode - The ISO code of the country.
2121
+ * @returns The country object or empty object if not found.
2122
+ */
2097
2123
  declare function getCountry(countryCode: string): Promise<{}>;
2124
+ /**
2125
+ * Retrieves a country and its tribe data as states by country code.
2126
+ * @param countryCode - The ISO code of the country.
2127
+ * @returns Country object with states property or empty object if not found.
2128
+ */
2098
2129
  declare function getCountryAndState(countryCode: string): Promise<{}>;
2130
+ /**
2131
+ * Retrieves tribe data (states) for a given country code.
2132
+ * @param countryCode - The ISO code of the country.
2133
+ * @returns Array of tribe data objects for the country.
2134
+ */
2099
2135
  declare function getCountryStates(countryCode: string): Promise<unknown[]>;
2136
+ /**
2137
+ * Finds all regions where a specific tribe is located across Africa
2138
+ * @param tribeName - The name of the tribe to search for
2139
+ * @returns Promise resolving to an array of objects containing combined state and country information where the tribe is found
2140
+ */
2141
+ declare function getTribeRegion(tribeName: string): Promise<RegionResult[]>;
2100
2142
 
2101
- export { getCountries, getCountriesAndStates, getCountry, getCountryAndState, getCountryStates };
2143
+ export { getCountries, getCountriesAndStates, getCountry, getCountryAndState, getCountryStates, getTribeRegion };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,20 @@
1
+ type RegionResult = {
2
+ capitalCity: string;
3
+ country: string;
4
+ countryCode: string;
5
+ geoPoliticalZone: string;
6
+ location: string;
7
+ name: string;
8
+ stateCode: string;
9
+ subdivisions: string[];
10
+ tribes: string[];
11
+ type: string;
12
+ };
13
+
14
+ /**
15
+ * Retrieves all African countries with their metadata.
16
+ * @returns Array of country objects with countryCode property.
17
+ */
1
18
  declare function getCountries(): Promise<({
2
19
  countryCode: string;
3
20
  phoneCode: number;
@@ -1019,6 +1036,10 @@ declare function getCountries(): Promise<({
1019
1036
  gmtOffset: string;
1020
1037
  }[];
1021
1038
  })[]>;
1039
+ /**
1040
+ * Retrieves all African countries and embeds their tribe data as states.
1041
+ * @returns Array of country objects with states property containing tribe data.
1042
+ */
1022
1043
  declare function getCountriesAndStates(): Promise<({
1023
1044
  states: unknown[];
1024
1045
  countryCode: string;
@@ -2094,8 +2115,29 @@ declare function getCountriesAndStates(): Promise<({
2094
2115
  gmtOffset: string;
2095
2116
  }[];
2096
2117
  })[]>;
2118
+ /**
2119
+ * Retrieves a single African country by its code.
2120
+ * @param countryCode - The ISO code of the country.
2121
+ * @returns The country object or empty object if not found.
2122
+ */
2097
2123
  declare function getCountry(countryCode: string): Promise<{}>;
2124
+ /**
2125
+ * Retrieves a country and its tribe data as states by country code.
2126
+ * @param countryCode - The ISO code of the country.
2127
+ * @returns Country object with states property or empty object if not found.
2128
+ */
2098
2129
  declare function getCountryAndState(countryCode: string): Promise<{}>;
2130
+ /**
2131
+ * Retrieves tribe data (states) for a given country code.
2132
+ * @param countryCode - The ISO code of the country.
2133
+ * @returns Array of tribe data objects for the country.
2134
+ */
2099
2135
  declare function getCountryStates(countryCode: string): Promise<unknown[]>;
2136
+ /**
2137
+ * Finds all regions where a specific tribe is located across Africa
2138
+ * @param tribeName - The name of the tribe to search for
2139
+ * @returns Promise resolving to an array of objects containing combined state and country information where the tribe is found
2140
+ */
2141
+ declare function getTribeRegion(tribeName: string): Promise<RegionResult[]>;
2100
2142
 
2101
- export { getCountries, getCountriesAndStates, getCountry, getCountryAndState, getCountryStates };
2143
+ export { getCountries, getCountriesAndStates, getCountry, getCountryAndState, getCountryStates, getTribeRegion };
package/dist/index.js CHANGED
@@ -3652,7 +3652,7 @@ var require_KE = __commonJS({
3652
3652
  location: "Central Kenya",
3653
3653
  name: "Laikipia",
3654
3654
  stateCode: "LAI",
3655
- tribes: ["Laikipiak Maasai"],
3655
+ tribes: ["Laikipiak Maasai", "Kalenjin"],
3656
3656
  type: "province"
3657
3657
  },
3658
3658
  LAMU: {
@@ -3672,7 +3672,7 @@ var require_KE = __commonJS({
3672
3672
  location: "Central Kenya",
3673
3673
  name: "Machakos",
3674
3674
  stateCode: "MKS",
3675
- tribes: ["Kikuyu"],
3675
+ tribes: ["Kikuyu", "Kamba"],
3676
3676
  type: "province"
3677
3677
  },
3678
3678
  MOMBASA: {
@@ -5750,7 +5750,7 @@ var require_NG = __commonJS({
5750
5750
  type: "state"
5751
5751
  },
5752
5752
  ANAMBRA: {
5753
- capitalCity: "Akwa",
5753
+ capitalCity: "Awka",
5754
5754
  subdivisions: [
5755
5755
  "Aguata",
5756
5756
  "Anambra East",
@@ -9992,7 +9992,8 @@ __export(src_exports, {
9992
9992
  getCountriesAndStates: () => getCountriesAndStates,
9993
9993
  getCountry: () => getCountry,
9994
9994
  getCountryAndState: () => getCountryAndState,
9995
- getCountryStates: () => getCountryStates
9995
+ getCountryStates: () => getCountryStates,
9996
+ getTribeRegion: () => getTribeRegion
9996
9997
  });
9997
9998
  module.exports = __toCommonJS(src_exports);
9998
9999
 
@@ -10211,7 +10212,7 @@ var countries_default = {
10211
10212
  countryCode: "FR"
10212
10213
  }
10213
10214
  ],
10214
- countryCode: "",
10215
+ countryCode: "DZ",
10215
10216
  flagEmoji: "\u{1F1E9}\u{1F1FF}",
10216
10217
  name: "Algeria",
10217
10218
  currency: "Algerian dinar",
@@ -10605,7 +10606,7 @@ var countries_default = {
10605
10606
  currencyCode: "KES",
10606
10607
  currencySymbol: "KSh",
10607
10608
  officialLanguage: "English",
10608
- majorEthnicGroups: ["Kalenjin", "Kikuyu", "Luo", "Maasai"],
10609
+ majorEthnicGroups: ["Digo", "Kalenjin", "Kikuyu", "Luhya", "Luo", "Maasai"],
10609
10610
  timezones: [
10610
10611
  {
10611
10612
  iana: "Africa/Nairobi",
@@ -11466,11 +11467,40 @@ async function getCountryStates(countryCode) {
11466
11467
  const tribes = await getTribeData(countryCode);
11467
11468
  return tribes;
11468
11469
  }
11470
+ async function getTribeRegion(tribeName) {
11471
+ const countries = await getCountriesAndStates();
11472
+ const regions = [];
11473
+ countries.forEach((country) => {
11474
+ if (country.states && Array.isArray(country.states)) {
11475
+ const matchingStates = country.states.filter(
11476
+ (state) => state.tribes?.some(
11477
+ (tribe) => tribe.toLowerCase().includes(tribeName.toLowerCase())
11478
+ )
11479
+ );
11480
+ matchingStates.forEach((state) => {
11481
+ regions.push({
11482
+ capitalCity: state.capitalCity,
11483
+ country: country.name,
11484
+ countryCode: country.countryCode,
11485
+ geoPoliticalZone: state.geoPoliticalZone || "",
11486
+ location: state.location || "",
11487
+ name: state.name,
11488
+ stateCode: state.stateCode,
11489
+ subdivisions: state.subdivisions || [],
11490
+ tribes: state.tribes || [],
11491
+ type: state.type || ""
11492
+ });
11493
+ });
11494
+ }
11495
+ });
11496
+ return regions;
11497
+ }
11469
11498
  // Annotate the CommonJS export names for ESM import in node:
11470
11499
  0 && (module.exports = {
11471
11500
  getCountries,
11472
11501
  getCountriesAndStates,
11473
11502
  getCountry,
11474
11503
  getCountryAndState,
11475
- getCountryStates
11504
+ getCountryStates,
11505
+ getTribeRegion
11476
11506
  });