Balamurugan
Loading0%
All work
Developer ToolOpen Source · npm

country-info-pro

A published, zero-dependency npm package that other developers depend on in production — covering 250 countries with 46 functions and growing organically to ~400 downloads a month with zero marketing.

Role
Author & Maintainer
Type
personal work
country-info-pro

The challenge

Existing country-data packages were incomplete, untyped, and bloated with dependencies — so developers kept reinventing the same lookups. I shipped the one I wished existed.

What I owned

  • Designed 46 functions with O(1) lookups, fuzzy search, and a distance calculator — an API other devs could trust on the first try.
  • Modelled 18 political groupings (EU/NATO/G20/BRICS) and postal-code validation for real-world coverage.
  • Shipped 148 unit tests and GitHub Actions CI with dual ESM/CJS output, so it stays reliable across every consumer's setup.
Next project
Wood Stock Manager