December 4, 2024   -   David Oyinbo

Country flags and currency package

Type-safe country and currency data with handy helpers for distances and lookups.

TypeScriptLibraryNPMGeographyCurrency

Overview

Provides countries, currencies, flags (unicode + SVG), capitals, dial codes, and simple geospatial utilities like distances and closest/farthest country queries. Zero dependencies and ships with TypeScript types.

Highlights

Data + Types

  • Strong TS types for Country, Currency, and Location
  • Country flags (unicode + SVG), capitals, dial codes
  • Handy methods: getCurrencies, getCountries, getCountriesBy, distanceBetweenLocations

Zero dependencies

  • Lightweight and tree-shakeable
  • Works via ESM import or CDN bundle
  • MIT-licensed

Minimal usage

import CountryAndCurrency from "@workmate/country-and-currency";

// Look up a currency by code
const mxn = CountryAndCurrency.getCurrencyBy("code", "MXN");
console.log(mxn?.symbol); // $

Other Projects

February 19, 2026

Trypema Rate Limiter

High-performance Rust rate limiting primitives with local, Redis-backed, and hybrid providers, atomic Redis enforcement, and absolute/suppressed strategies.

RustRate LimitingRedis
June 27, 2025

Actix Web Starter Template

Production-ready Rust/Actix Web REST API starter with RBAC auth, SeaORM/PostgreSQL, Kafka-based email, and Docker tooling.

RustActix WebSeaORM
October 1, 2021

Payaza Web SDK

A JavaScript Web SDK that simplifies integrating Payaza checkout on web applications. Built as part of my role at Payaza Africa.

SDKJavaScriptPayments

Let's build something together

Available for senior engineering roles, consulting, and architecture reviews.

© 2026 David Oyinbo