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 867 B
export { getDigiPin, getLatLngFromDigiPin, BOUNDS, type DigiPinFormat, type EncodeOptions, type DecodeOptions, } 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, type ReverseGeocodeOptions, type ReverseGeocodeResolver, type ReverseGeocodeResult, } from './reverseGeocode'; export { getDistance, getPreciseDistance, orderByDistance, findNearest, type PinInput, type DistanceOrderOptions, type NearestOptions, } from './geo'; export { toGeoJson, type GeoJsonFeature, type GeoJsonPoint } from './geojson'; //# sourceMappingURL=index.d.ts.map