UNPKG

digipin-reactjs

Version:

React hooks and components for integrating DIGIPIN (Indian Postal Digital PIN) geocoding into React apps. Includes hooks, prebuilt UI, and helpers for seamless integration.

103 lines (102 loc) 2.59 kB
{ "name": "digipin-reactjs", "version": "1.1.5", "description": "React hooks and components for integrating DIGIPIN (Indian Postal Digital PIN) geocoding into React apps. Includes hooks, prebuilt UI, and helpers for seamless integration.", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "clean": "rm -rf dist", "build": "npm run clean && rollup -c", "test": "jest", "lint": "eslint src --ext .ts,.tsx", "prepare": "npm run build" }, "keywords": [ "digipin", "react", "geocoding", "coordinates", "latitude", "longitude", "typescript", "india", "location", "encoding", "decoding", "postal", "postal-code", "indian-postal", "delivery-tracking", "geographic-encoding", "coordinate-converter", "react-hooks", "react-components", "address" ], "author": { "name": "Rajat Gupta", "url": "https://github.com/rajatguptaa" }, "contributors": [], "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/digipin-reactjs.git" }, "bugs": { "url": "https://github.com/rajatguptaa/digipin-reactjs/issues" }, "homepage": "https://github.com/rajatguptaa/digipin-reactjs#readme", "engines": { "node": ">=14.0.0" }, "dependencies": { "react": "^19.1.0", "react-dom": "^19.1.0", "digipinjs": "^1.1.8" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.3", "@types/chai": "^5.2.2", "@types/jest": "^30.0.0", "@types/mocha": "^10.0.10", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@typescript-eslint/eslint-plugin": "^8.35.0", "@typescript-eslint/parser": "^8.35.0", "chai": "^5.2.0", "eslint": "^9.29.0", "jest": "^30.0.2", "jest-environment-jsdom": "^30.0.2", "mocha": "^11.7.1", "rollup": "^4.44.0", "rollup-plugin-peer-deps-external": "^2.2.4", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.8.3" } }