Skip to content

Repository files navigation

🇱🇰 Sri Lanka Province District City

npm version npm downloads License: MIT TypeScript

Complete, offline, and fully typed location data for Sri Lanka – 9 provinces, 25 districts, and 2,000+ cities/towns.

No API calls, no external dependencies. Just data you can trust.


✨ Features

  • 9 Provinces – Western, Central, Southern, and more.
  • 25 Districts – Colombo, Kandy, Galle, Jaffna, etc.
  • 2,000+ Cities/Towns – including postal codes (partial), latitudes/longitudes (coming soon).
  • Offline‑first – zero network requests.
  • TypeScript ready – full type definitions included.
  • Lightweight – ~14kB gzipped.
  • Simple API – get provinces, districts, cities, search, and reverse lookups.

📦 Installation

npm install sri-lanka-province-district-city

About

A production‑ready npm package providing complete administrative location data for Sri Lanka: all 9 provinces, 25 districts, and 2,000+ cities/towns. Fully typed, offline‑capable, and built for developers who need accurate Sri Lankan geography in their projects.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages