Sri Lanka Division Data
Sri Lanka Division Data is a reusable npm package that provides organized and structured
Sri Lanka administrative location data for apps, forms, dashboards, validation, analytics,
and location-based software solutions. The package includes a complete hierarchical dataset
of Provinces, Districts, and Divisional Secretariats, making it ideal for developers building
address systems, location selectors, and data-driven applications.
🌟 Key Features:
Complete Administrative Hierarchy: Covers all 9 Provinces, 25 Districts, and their respective Divisional Secretariats.
Developer Friendly: Easy to integrate into web and software applications through npm.
TypeScript Support: Includes built-in type definitions for better development experience.
Case-Insensitive Lookups: Lookup functions work without worrying about uppercase or lowercase values.
Helper Functions Included: Quickly retrieve provinces, districts, divisional secretariats, and related mappings.
Raw Data Access: Developers can directly use the JSON dataset when needed.
Open Source: Free to use in both personal and commercial projects under the MIT license.
🛠️ Technologies Used:
JavaScript (Node.js)
TypeScript Definitions
JSON Dataset Structure
npm Package Publishing
GitHub
🔗 Project Links:
npm Package:
https://www.npmjs.com/package/sri-lanka-division-data
GitHub Repository:
https://github.com/sahanRanasingha/Sri-Lanka-Division-Data
🔖 Skills:
npm Package Development
Open Source Development
JavaScript Library Development
TypeScript Integration
JSON Data Structuring
GitHub Repository Management