How chimigit/bhutan-regions works
Bhutan Regions is a small data-and-lookup library: a consumer calls its exported API for lists, bilingual names, district–sub-district relationships, counts, validation, or complete regional data. The API implementation reads the bundled administrative dataset directly and computes results in memory; there is no external service or persistent store. The README documents the full capability set, while the source excerpt shows the API-to-data dependency. This compact runtime has no separate domain stages; unsampled data details are not expanded.
Main entry points: index.js Region Queries · data.js Bilingual Region Data
Components 3
Lookup API
- Region Queries
src/index.js
Regional Dataset
- Bilingual Region Data
src/data.js
Other components
- Library Consumer
Connections 2
- Library Consumer → Region Queries: calls exported API
README.md - Region Queries → Bilingual Region Data: reads data
src/index.js