UNPKG

digipinjs

Version:

A comprehensive TypeScript library for encoding and decoding Indian geographic coordinates into DIGIPIN format (Indian Postal Digital PIN system). Features CLI tools, caching, batch processing, and Express middleware for seamless integration.

8 lines (7 loc) 585 B
export { getDigiPin, getLatLngFromDigiPin, BOUNDS, } from './core'; export { batchEncode, batchDecode } from './batch'; export { getCachedEncode, setCachedEncode, clearCache, clearDecodeCache, clearEncodeCache, getCachedDecode, getCached, setCached, } from './cache'; export { normalizeDigiPin, digiPinValidator } from './util'; export { reverseGeocode, reverseGeocodeAsync, setReverseGeocodeResolver, clearReverseGeocodeResolver, } from './reverseGeocode'; export { getDistance, getPreciseDistance, orderByDistance, findNearest, } from './geo'; export { toGeoJson } from './geojson';