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.
7 lines (6 loc) • 380 B
TypeScript
export { getDigiPin, getLatLngFromDigiPin } from './core';
export { batchEncode, batchDecode } from './batch';
export { getDigiPin as encode, getLatLngFromDigiPin as decode } from './core';
export { getCached, setCached, clearCache } from './cache';
export { reverseGeocode } from './cache';
export { getDistance, getPreciseDistance, orderByDistance, findNearest, } from './geo';