LocusLocation intelligence toolkit for TypeScript.
A toolkit for location intelligence: multi-modal geo resolution, spatial primitives, pluggable grid systems, and geohash-indexed administrative-layer lookups.
A toolkit for location intelligence: multi-modal geo resolution, spatial primitives, pluggable grid systems, and geohash-indexed administrative-layer lookups.
Locus is a toolkit, not a fixed dataset. Consumers pick the grid system and the administrative layers they need; the data-builder pipeline composes artifacts from pluggable source adapters; the runtime lookups stay agnostic to both.
Multi-modal resolution. @studnicky/geo-resolver fuses address, IP, coordinate, and phone-based signals into one higher-confidence location result, weighting each modality and back-filling empty fields from lower-weight candidates.
Swappable grid systems. @studnicky/grid-schemes defines a GridSchemeInterface contract implemented by geohash, S2, H3, and MGRS — so the data-builder and runtime decoder never hardcode one choice.
No layer is mandatory. Administrative layers (state, county, postal, voting district) are independently-loadable packages. A consumer building for a single country doesn't pay for congressional-district data they'll never query.
See Architecture for the full grid-system, data-layer, and source-adapter design.