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.

130 lines (129 loc) 3.23 kB
{ "name": "digipinjs", "version": "1.1.8", "description": "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.", "main": "dist/index.js", "browser": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": "./dist/index.js", "./node": "./dist/node.js" }, "bin": { "digipin-cli": "dist/cli.js" }, "files": [ "dist", "README.md", "LICENSE", "CHANGELOG.md", "CONTRIBUTING.md" ], "scripts": { "build": "tsc", "test": "mocha -r ts-node/register 'src/**/*.test.ts'", "test:coverage": "nyc npm test", "lint": "eslint src/**/*.ts", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "git add -A src", "postversion": "git push && git push --tags" }, "keywords": [ "digipin", "digipinjs", "geocoding", "coordinates", "latitude", "longitude", "cli", "typescript", "india", "location", "encoding", "decoding", "wrapper", "postal", "postal-code", "indian-postal", "delivery-tracking", "geographic-encoding", "coordinate-converter", "express-middleware", "batch-processing", "caching", "reverse-geocoding", "geospatial", "india", "postal", "address" ], "author": { "name": "Rajat Gupta", "url": "https://github.com/rajatguptaa" }, "contributors": [ { "name": "Department of Posts, Government of India", "url": "https://github.com/CEPT-VZG/digipin" }, { "name": "Indian Institute of Technology, Hyderabad", "url": "https://www.iith.ac.in/" }, { "name": "National Remote Sensing Centre, ISRO", "url": "https://www.nrsc.gov.in/" }, { "name": "Amogh Chavan", "url": "https://github.com/amogh-chavan" } ], "license": "MIT", "licenses": [ { "type": "MIT", "url": "https://github.com/rajatguptaa/digipinjs/blob/main/LICENSE" }, { "type": "Apache-2.0", "url": "https://github.com/CEPT-VZG/digipin/blob/main/LICENSE" } ], "repository": { "type": "git", "url": "git+https://github.com/rajatguptaa/digipinjs.git" }, "bugs": { "url": "https://github.com/rajatguptaa/digipinjs/issues" }, "homepage": "https://github.com/rajatguptaa/digipinjs#readme", "engines": { "node": ">=14.0.0" }, "dependencies": { "geolib": "3.3.4", "lru-cache": "^7.18.3" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/chai": "^4.3.11", "@types/express": "^4.17.17", "@types/mocha": "^10.0.6", "@types/node": "^20.2.5", "@types/yargs": "^17.0.33", "@typescript-eslint/eslint-plugin": "^8.33.1", "@typescript-eslint/parser": "^8.33.1", "chai": "^4.3.10", "chalk": "^4.1.2", "eslint": "^8.41.0", "express": "^4.18.2", "mocha": "^10.2.0", "nyc": "^15.1.0", "ts-node": "^10.9.2", "typescript": "^5.1.6", "yargs": "^17.6.2" } }