Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
geocache
In-memory cache for storing bucketed geolocation data for Deno.
Use Case
- Data can be stored in the cache and fetched from the cache a given longitude and latitude.
- Coordinates are grouped into buckets, and data is cached per bucket. Each bucket represents a block in the graticule.
- The size of the block is determined by the interval in decimal degrees. A lower interval means more accurate geolocation data, but also increases the maximum cache size.
- The underlying cache is a TTL cache (more policies are planned).