{"_id":"@aashari/nodejs-geocoding","_rev":"7-1f09adfa4a5ac8f0c3851f728c931af5","name":"@aashari/nodejs-geocoding","dist-tags":{"latest":"2.7.2"},"versions":{"2.3.0":{"name":"@aashari/nodejs-geocoding","version":"2.3.0","keywords":["geocoding","reverse-geocoding","geolocation","maps","address","coordinates","latitude","longitude","google-maps"],"author":{"name":"aashari"},"license":"MIT","_id":"@aashari/nodejs-geocoding@2.3.0","maintainers":[{"name":"aashari","email":"mq.aashari@gmail.com"}],"homepage":"https://github.com/aashari/nodejs-geocoding#readme","bugs":{"url":"https://github.com/aashari/nodejs-geocoding/issues"},"dist":{"shasum":"375e9ac984e00d5179edcbc9f69f3f2c95646f7e","tarball":"https://registry.npmjs.org/@aashari/nodejs-geocoding/-/nodejs-geocoding-2.3.0.tgz","fileCount":14,"integrity":"sha512-FIND/qlziO03x2NIqDxsB3/SsM06U3oPlq0I9naGk2BUQZ31fp5ed0OLnPNpierQkiRuq5Nou/zq8K/7tEJ9uQ==","signatures":[{"sig":"MEQCIAIdgX3y/I+edA9Pt0QIpVCoq5sGplJZQCenfpH9cyiKAiBTb3T6KXfQSJw8hqbPFLjbnioD7lXn27Yy34xO6d/RSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24684},"jest":{"preset":"ts-jest","testMatch":["**/src/**/*.test.ts"],"testEnvironment":"node","coverageReporters":["text","lcov","json-summary"],"collectCoverageFrom":["src/**/*.ts","!src/**/*.test.ts","!src/**/*.spec.ts"],"coveragePathIgnorePatterns":["/node_modules/","/dist/","/coverage/"]},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"gitHead":"cf62a4a6a257026505d195d2ba7d9ce93ac46c54","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"tsc","format":"prettier --write 'src/**/*.ts' 'scripts/**/*.js'","publish:npm":"npm publish","update:deps":"npx npm-check-updates -u && npm install --legacy-peer-deps","update:check":"npx npm-check-updates","test:coverage":"jest --coverage","update:version":"node scripts/update-version.js"},"_npmUser":{"name":"aashari","email":"mq.aashari@gmail.com"},"repository":{"url":"git+https://github.com/aashari/nodejs-geocoding.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support","directories":{"example":"examples"},"_nodeVersion":"22.14.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.22.0","nodemon":"^3.1.9","ts-jest":"^29.2.6","prettier":"^3.5.3","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^22.13.10","semantic-release":"^24.2.3","npm-check-updates":"^17.1.15","typescript-eslint":"^8.26.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/exec":"^7.0.3","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.3","@semantic-release/github":"^11.0.1","@typescript-eslint/parser":"^8.26.1","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^8.26.1"},"_npmOperationalInternal":{"tmp":"tmp/nodejs-geocoding_2.3.0_1742625319997_0.6749671247639564","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@aashari/nodejs-geocoding","version":"2.4.0","keywords":["geocoding","reverse-geocoding","geolocation","maps","address","coordinates","latitude","longitude","google-maps"],"author":{"name":"aashari"},"license":"MIT","_id":"@aashari/nodejs-geocoding@2.4.0","maintainers":[{"name":"aashari","email":"mq.aashari@gmail.com"}],"homepage":"https://github.com/aashari/nodejs-geocoding#readme","bugs":{"url":"https://github.com/aashari/nodejs-geocoding/issues"},"dist":{"shasum":"da3190f7e73106e14fa3bbee28e7a953a603cb17","tarball":"https://registry.npmjs.org/@aashari/nodejs-geocoding/-/nodejs-geocoding-2.4.0.tgz","fileCount":14,"integrity":"sha512-L6wEQCSITpeohD8zkjKw1SOl8L6/oegpuWXD5Bd0bN0CWG5Eipfn5CWD0lRLsKiYXOivc7sFCRWBdzbqQzMO4A==","signatures":[{"sig":"MEQCIDgmRY76eLIypD1Z+lyctcWnREupfcvFGncyVXnh7AiXAiB+GF1MWlSAdBavt/S8l0NBQ7JEompJjJJxCyhm9Fc2Ug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19531},"jest":{"preset":"ts-jest","testMatch":["**/src/**/*.test.ts"],"testEnvironment":"node","coverageReporters":["text","lcov","json-summary"],"collectCoverageFrom":["src/**/*.ts","!src/**/*.test.ts","!src/**/*.spec.ts"],"coveragePathIgnorePatterns":["/node_modules/","/dist/","/coverage/"]},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"gitHead":"f06555f7cfe8eb3129241414bd14d00d5a59ffd7","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"tsc","format":"prettier --write 'src/**/*.ts' 'scripts/**/*.js'","publish:npm":"npm publish","update:deps":"npx npm-check-updates -u && npm install --legacy-peer-deps","update:check":"npx npm-check-updates","test:coverage":"jest --coverage","update:version":"node scripts/update-version.js"},"_npmUser":{"name":"aashari","email":"mq.aashari@gmail.com"},"repository":{"url":"git+https://github.com/aashari/nodejs-geocoding.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support","directories":{"example":"examples"},"_nodeVersion":"22.14.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.22.0","nodemon":"^3.1.9","ts-jest":"^29.2.6","prettier":"^3.5.3","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^22.13.10","semantic-release":"^24.2.3","npm-check-updates":"^17.1.15","typescript-eslint":"^8.26.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/exec":"^7.0.3","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.3","@semantic-release/github":"^11.0.1","@typescript-eslint/parser":"^8.26.1","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^8.26.1"},"_npmOperationalInternal":{"tmp":"tmp/nodejs-geocoding_2.4.0_1742626152465_0.7657694393305676","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@aashari/nodejs-geocoding","version":"2.5.0","keywords":["geocoding","reverse-geocoding","geolocation","maps","address","coordinates","latitude","longitude","google-maps"],"author":{"name":"aashari"},"license":"ISC","_id":"@aashari/nodejs-geocoding@2.5.0","maintainers":[{"name":"aashari","email":"mq.aashari@gmail.com"}],"homepage":"https://github.com/aashari/nodejs-geocoding#readme","bugs":{"url":"https://github.com/aashari/nodejs-geocoding/issues"},"dist":{"shasum":"0b94d3c25a3c2c05aa9c32850b7799360045095d","tarball":"https://registry.npmjs.org/@aashari/nodejs-geocoding/-/nodejs-geocoding-2.5.0.tgz","fileCount":16,"integrity":"sha512-FfbfZHRRzIB0z53yfyKdwdPCzlIDWjP6CsLplLg7HGeywWS96LEfNFgOEp5DzyJaCTG0jTVjpVRVurzsgPdODQ==","signatures":[{"sig":"MEYCIQDlqoVDHmO/GK/yhLoCLPp1UnVp9O4SoSBzt5WSKra4RQIhAItvDqaNEhdf2SiSRecbkCLFkGrdVmkZyKYztWM/KTCE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23552},"jest":{"preset":"ts-jest","testMatch":["**/src/**/*.test.ts"],"testEnvironment":"node","coverageReporters":["text","lcov","json-summary"],"collectCoverageFrom":["src/**/*.ts","!src/**/*.test.ts","!src/**/*.spec.ts"],"coveragePathIgnorePatterns":["/node_modules/","/dist/","/coverage/"]},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"d484fa2af82c97f44130a8fd129e15e3d6a31c9c","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"tsc","format":"prettier --write 'src/**/*.ts' 'scripts/**/*.js'","publish:npm":"npm publish","update:deps":"npx npm-check-updates -u && npm install --legacy-peer-deps","update:check":"npx npm-check-updates","test:coverage":"jest --coverage","update:version":"node scripts/update-version.js"},"_npmUser":{"name":"aashari","email":"mq.aashari@gmail.com"},"repository":{"url":"git+https://github.com/aashari/nodejs-geocoding.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support","directories":{"example":"examples"},"_nodeVersion":"22.14.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.22.0","nodemon":"^3.1.9","ts-jest":"^29.2.6","prettier":"^3.5.3","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^22.13.10","semantic-release":"^24.2.3","npm-check-updates":"^17.1.15","typescript-eslint":"^8.26.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/exec":"^7.0.3","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.3","@semantic-release/github":"^11.0.1","@typescript-eslint/parser":"^8.26.1","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^8.26.1"},"_npmOperationalInternal":{"tmp":"tmp/nodejs-geocoding_2.5.0_1742627341678_0.06733334490703302","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@aashari/nodejs-geocoding","version":"2.6.0","keywords":["geocoding","reverse-geocoding","geolocation","maps","address","coordinates","latitude","longitude","google-maps"],"author":{"name":"aashari"},"license":"ISC","_id":"@aashari/nodejs-geocoding@2.6.0","maintainers":[{"name":"aashari","email":"mq.aashari@gmail.com"}],"homepage":"https://github.com/aashari/nodejs-geocoding#readme","bugs":{"url":"https://github.com/aashari/nodejs-geocoding/issues"},"dist":{"shasum":"d0f402fc38efdcc74da8356f0a13c0dea6559724","tarball":"https://registry.npmjs.org/@aashari/nodejs-geocoding/-/nodejs-geocoding-2.6.0.tgz","fileCount":16,"integrity":"sha512-ADeZ7SbuxC7B5N20rTGdZCJlVnH5TP8efhijk03bOhEbfERc1h04S8Vu3KsmMBrF0EHjwtbW6991E/7ZiOxotw==","signatures":[{"sig":"MEQCIAKLrQBNNEmPZVV/bCtMZa83+ffZfRpmz/hfVEkWvOVBAiA29weE4xRAtmRbVUvPy165KoZi7e4HaKxpONnWMC/DMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23836},"jest":{"preset":"ts-jest","testMatch":["**/src/**/*.test.ts"],"testEnvironment":"node","coverageReporters":["text","lcov","json-summary"],"collectCoverageFrom":["src/**/*.ts","!src/**/*.test.ts","!src/**/*.spec.ts"],"coveragePathIgnorePatterns":["/node_modules/","/dist/","/coverage/"]},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"1addd886d0c1419aa07c9211e121d74b66485d67","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"tsc","format":"prettier --write 'src/**/*.ts' 'scripts/**/*.js'","publish:npm":"npm publish","update:deps":"npx npm-check-updates -u && npm install --legacy-peer-deps","update:check":"npx npm-check-updates","test:coverage":"jest --coverage","update:version":"node scripts/update-version.js"},"_npmUser":{"name":"aashari","email":"mq.aashari@gmail.com"},"repository":{"url":"git+https://github.com/aashari/nodejs-geocoding.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support","directories":{"example":"examples"},"_nodeVersion":"22.14.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.22.0","nodemon":"^3.1.9","ts-jest":"^29.2.6","prettier":"^3.5.3","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^22.13.10","semantic-release":"^24.2.3","npm-check-updates":"^17.1.15","typescript-eslint":"^8.26.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/exec":"^7.0.3","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.3","@semantic-release/github":"^11.0.1","@typescript-eslint/parser":"^8.26.1","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^8.26.1"},"_npmOperationalInternal":{"tmp":"tmp/nodejs-geocoding_2.6.0_1742627472654_0.6488197325056331","host":"s3://npm-registry-packages-npm-production"}},"2.7.0":{"name":"@aashari/nodejs-geocoding","version":"2.7.0","keywords":["geocoding","reverse-geocoding","geolocation","maps","address","coordinates","latitude","longitude","google-maps"],"author":{"name":"aashari"},"license":"ISC","_id":"@aashari/nodejs-geocoding@2.7.0","maintainers":[{"name":"aashari","email":"mq.aashari@gmail.com"}],"homepage":"https://github.com/aashari/nodejs-geocoding#readme","bugs":{"url":"https://github.com/aashari/nodejs-geocoding/issues"},"dist":{"shasum":"c1aaeab58b1af040ccd5a5ed7c98493f41cfaa6c","tarball":"https://registry.npmjs.org/@aashari/nodejs-geocoding/-/nodejs-geocoding-2.7.0.tgz","fileCount":16,"integrity":"sha512-Of/+Wxx9jeIlTHy714uNcSuY/dzJHD9dHoX4TKiUcoFYxGSso1wc1u5wUSt83Hki3aoc0idyaUpFC2kI/gV5mA==","signatures":[{"sig":"MEUCIHmMNaNKkuPpp1+/7vmZUXDABt75cm/GWCCx7DOiQz7zAiEAiVRcO3pEPNNmyCo+GDHl1uA8bAFFQNeoqynzf8O0/Ck=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24112},"jest":{"preset":"ts-jest","testMatch":["**/src/**/*.test.ts"],"testEnvironment":"node","coverageReporters":["text","lcov","json-summary"],"collectCoverageFrom":["src/**/*.ts","!src/**/*.test.ts","!src/**/*.spec.ts"],"coveragePathIgnorePatterns":["/node_modules/","/dist/","/coverage/"]},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"8f8b104eec07f60270a07c8b0854916567ff6462","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"tsc","format":"prettier --write 'src/**/*.ts' 'scripts/**/*.js'","publish:npm":"npm publish","update:deps":"npx npm-check-updates -u && npm install --legacy-peer-deps","update:check":"npx npm-check-updates","test:coverage":"jest --coverage","update:version":"node scripts/update-version.js"},"_npmUser":{"name":"aashari","email":"mq.aashari@gmail.com"},"repository":{"url":"git+https://github.com/aashari/nodejs-geocoding.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support","directories":{"example":"examples"},"_nodeVersion":"22.14.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.22.0","nodemon":"^3.1.9","ts-jest":"^29.2.6","prettier":"^3.5.3","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^22.13.10","semantic-release":"^24.2.3","npm-check-updates":"^17.1.15","typescript-eslint":"^8.26.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/exec":"^7.0.3","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.3","@semantic-release/github":"^11.0.1","@typescript-eslint/parser":"^8.26.1","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^8.26.1"},"_npmOperationalInternal":{"tmp":"tmp/nodejs-geocoding_2.7.0_1742627685125_0.002430515344907569","host":"s3://npm-registry-packages-npm-production"}},"2.7.1":{"name":"@aashari/nodejs-geocoding","version":"2.7.1","keywords":["geocoding","reverse-geocoding","geolocation","maps","address","coordinates","latitude","longitude","google-maps"],"author":{"name":"aashari"},"license":"ISC","_id":"@aashari/nodejs-geocoding@2.7.1","maintainers":[{"name":"aashari","email":"mq.aashari@gmail.com"}],"homepage":"https://github.com/aashari/nodejs-geocoding#readme","bugs":{"url":"https://github.com/aashari/nodejs-geocoding/issues"},"dist":{"shasum":"f44340b27fad094db6b6f1730f333afa489916e5","tarball":"https://registry.npmjs.org/@aashari/nodejs-geocoding/-/nodejs-geocoding-2.7.1.tgz","fileCount":16,"integrity":"sha512-hLGr4G8tE90ULdBiHpgq/+hR4IBlbIR8Kt5P3C8IIZrcWpNlhmK2MvAyeXh0a2rQmJO+0KMvGITLn4SD0HWM4g==","signatures":[{"sig":"MEQCIC2E1iOJ9q+FX9kRK4jxQvAMx6/PiJy5yZh9MPiCw34BAiBMr5EJ6TX3d+5vBu6CMNiPZvi6/DC/6mZ8egd/cCUbLA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24520},"jest":{"preset":"ts-jest","testMatch":["**/src/**/*.test.ts"],"testEnvironment":"node","coverageReporters":["text","lcov","json-summary"],"collectCoverageFrom":["src/**/*.ts","!src/**/*.test.ts","!src/**/*.spec.ts"],"coveragePathIgnorePatterns":["/node_modules/","/dist/","/coverage/"]},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"92be5c9aa7d79b44b26138b4814cec3b21c47592","scripts":{"lint":"eslint src --ext .ts --config eslint.config.mjs","test":"jest","build":"tsc","format":"prettier --write 'src/**/*.ts' 'scripts/**/*.js'","publish:npm":"npm publish","update:deps":"npx npm-check-updates -u && npm install --legacy-peer-deps","update:check":"npx npm-check-updates","test:coverage":"jest --coverage","update:version":"node scripts/update-version.js"},"_npmUser":{"name":"aashari","email":"mq.aashari@gmail.com"},"repository":{"url":"git+https://github.com/aashari/nodejs-geocoding.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support","directories":{"example":"examples"},"_nodeVersion":"22.14.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.22.0","nodemon":"^3.1.9","ts-jest":"^29.2.6","prettier":"^3.5.3","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/node":"^22.13.10","semantic-release":"^24.2.3","npm-check-updates":"^17.1.15","typescript-eslint":"^8.26.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/exec":"^7.0.3","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.3","@semantic-release/github":"^11.0.1","@typescript-eslint/parser":"^8.26.1","@semantic-release/changelog":"^6.0.3","@typescript-eslint/eslint-plugin":"^8.26.1"},"_npmOperationalInternal":{"tmp":"tmp/nodejs-geocoding_2.7.1_1742627891991_0.6380961742467122","host":"s3://npm-registry-packages-npm-production"}},"2.7.2":{"name":"@aashari/nodejs-geocoding","version":"2.7.2","description":"A lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support","main":"dist/index.js","types":"dist/index.d.ts","type":"commonjs","scripts":{"build":"tsc","test":"jest","test:coverage":"jest --coverage","lint":"eslint src --ext .ts --config eslint.config.mjs","format":"prettier --write 'src/**/*.ts' 'scripts/**/*.js'","publish:npm":"npm publish","update:check":"npx npm-check-updates","update:deps":"npx npm-check-updates -u && npm install --legacy-peer-deps","update:version":"node scripts/update-version.js"},"repository":{"type":"git","url":"git+https://github.com/aashari/nodejs-geocoding.git"},"keywords":["geocoding","reverse-geocoding","geolocation","maps","address","coordinates","latitude","longitude","google-maps"],"author":{"name":"aashari"},"license":"ISC","bugs":{"url":"https://github.com/aashari/nodejs-geocoding/issues"},"homepage":"https://github.com/aashari/nodejs-geocoding#readme","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"directories":{"example":"examples"},"devDependencies":{"@eslint/js":"^9.22.0","@semantic-release/changelog":"^6.0.3","@semantic-release/exec":"^7.0.3","@semantic-release/git":"^10.0.1","@semantic-release/github":"^11.0.1","@semantic-release/npm":"^12.0.1","@types/jest":"^29.5.14","@types/node":"^22.13.10","@typescript-eslint/eslint-plugin":"^8.26.1","@typescript-eslint/parser":"^8.26.1","eslint":"^9.22.0","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.3","jest":"^29.7.0","nodemon":"^3.1.9","npm-check-updates":"^17.1.15","prettier":"^3.5.3","semantic-release":"^24.2.3","ts-jest":"^29.2.6","typescript":"^5.8.2","typescript-eslint":"^8.26.1"},"jest":{"preset":"ts-jest","testEnvironment":"node","testMatch":["**/src/**/*.test.ts"],"collectCoverageFrom":["src/**/*.ts","!src/**/*.test.ts","!src/**/*.spec.ts"],"coveragePathIgnorePatterns":["/node_modules/","/dist/","/coverage/"],"coverageReporters":["text","lcov","json-summary"]},"_id":"@aashari/nodejs-geocoding@2.7.2","gitHead":"c5eadce54a222b483c73c0d217542a62e208d8c5","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-vv9MAufsozgFUNFEMYz0vV44c0ij0Vxh/CvX4bSOgDLgZuMnT/0816B6Zz5APlHPquVUvkBJwtbmBfCNjOPvtQ==","shasum":"98afa9281c577adfd30e69f00f0a9c6d8df1884d","tarball":"https://registry.npmjs.org/@aashari/nodejs-geocoding/-/nodejs-geocoding-2.7.2.tgz","fileCount":17,"unpackedSize":30717,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFs9FIyXShGIfzLobzU95PTphLHew4BTXIFHvaA6m2BZAiA96UWFPJW7HHyVXgcWq1djrjStba/Z26zdfi1OJWIwGg=="}]},"_npmUser":{"name":"aashari","email":"mq.aashari@gmail.com"},"maintainers":[{"name":"aashari","email":"mq.aashari@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nodejs-geocoding_2.7.2_1742629202011_0.9229030386811354"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-22T06:35:19.898Z","modified":"2025-03-22T07:40:02.409Z","2.3.0":"2025-03-22T06:35:20.183Z","2.4.0":"2025-03-22T06:49:12.651Z","2.5.0":"2025-03-22T07:09:01.872Z","2.6.0":"2025-03-22T07:11:12.842Z","2.7.0":"2025-03-22T07:14:45.364Z","2.7.1":"2025-03-22T07:18:12.285Z","2.7.2":"2025-03-22T07:40:02.247Z"},"bugs":{"url":"https://github.com/aashari/nodejs-geocoding/issues"},"author":{"name":"aashari"},"license":"ISC","homepage":"https://github.com/aashari/nodejs-geocoding#readme","keywords":["geocoding","reverse-geocoding","geolocation","maps","address","coordinates","latitude","longitude","google-maps"],"repository":{"type":"git","url":"git+https://github.com/aashari/nodejs-geocoding.git"},"description":"A lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support","maintainers":[{"name":"aashari","email":"mq.aashari@gmail.com"}],"readme":"# @aashari/nodejs-geocoding\n\n[![npm version](https://img.shields.io/npm/v/@aashari/nodejs-geocoding.svg)](https://www.npmjs.com/package/@aashari/nodejs-geocoding)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.8-blue.svg)](https://www.typescriptlang.org/)\n[![Node.js](https://img.shields.io/badge/Node.js->=22.0.0-green.svg)](https://nodejs.org/)\n[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/aashari/nodejs-geocoding/ci-semantic-release.yml?label=build)](https://github.com/aashari/nodejs-geocoding/actions/workflows/ci-semantic-release.yml)\n\n## Overview\n\nA lightweight TypeScript/Node.js library for geocoding and reverse geocoding operations with multilingual support. This library provides a simple, dependency-free solution for converting between addresses and geographic coordinates.\n\n> ⚠️ **Disclaimer**: This library is intended for non-commercial, low-volume applications. For production or commercial use, please use the official [Google Maps API](https://developers.google.com/maps/documentation/geocoding/overview).\n\n## Features\n\n- **Zero External Dependencies**: Lightweight implementation with no third-party dependencies\n- **TypeScript Support**: Full TypeScript definitions included for type safety\n- **Promise-based API**: Modern async/await compatible interface\n- **Multilingual Support**: Get results in different languages (e.g., English, Indonesian, French, etc.)\n- **Forward Geocoding**: Convert addresses to coordinates (latitude/longitude)\n- **Reverse Geocoding**: Convert coordinates to formatted addresses\n- **Google Plus Codes**: Get Google Plus Codes for locations\n- **Simple Integration**: Easy to integrate with any Node.js project\n\n## Installation\n\n```bash\nnpm install @aashari/nodejs-geocoding\n```\n\n## Quick Start\n\n### Geocoding (Address to Coordinates)\n\n```javascript\nconst geocoding = require('@aashari/nodejs-geocoding');\n\n// Convert address to coordinates\ngeocoding\n\t.encode('Empire State Building, New York')\n\t.then((locations) => console.log(locations))\n\t.catch((error) => console.error(error));\n```\n\n### Reverse Geocoding (Coordinates to Address)\n\n```javascript\nconst geocoding = require('@aashari/nodejs-geocoding');\n\n// Convert coordinates to address\ngeocoding\n\t.decode(40.7484, -73.9857)\n\t.then((location) => console.log(location))\n\t.catch((error) => console.error(error));\n```\n\n## API Reference\n\n### encode(address, language?)\n\nConverts an address string to geographic coordinates.\n\n```typescript\nfunction encode(\n\tformattedAddress: string,\n\tlanguage?: string = 'en',\n): Promise<Location[]>;\n```\n\n**Returns**: Array of location objects with coordinates and formatted address.\n\n### decode(latitude, longitude, language?)\n\nConverts geographic coordinates to an address.\n\n```typescript\nfunction decode(\n\tlatitude: number,\n\tlongitude: number,\n\tlanguage?: string = 'en',\n): Promise<Location | null>;\n```\n\n**Returns**: Location object with formatted address and Google Plus Code, or null if not found.\n\n### Location Interface\n\n```typescript\ninterface Location {\n\tlatitude?: number;\n\tlongitude?: number;\n\tgoogle_plus_code?: string;\n\tformatted_address?: string;\n}\n```\n\n## Language Support\n\nSpecify a language code as the last parameter to get results in different languages:\n\n```javascript\n// Get results in French\ngeocoding\n\t.encode('Tour Eiffel, Paris', 'fr')\n\t.then((locations) => console.log(locations));\n\n// Get results in Japanese\ngeocoding\n\t.decode(35.6895, 139.6917, 'ja')\n\t.then((location) => console.log(location));\n```\n\nSupports all language codes that Google Maps supports (e.g., `en`, `fr`, `de`, `ja`, `zh-CN`, `es`, etc.)\n\n## Example Output\n\n### Geocoding Result\n\n```javascript\n[\n\t{\n\t\tformatted_address:\n\t\t\t'Empire State Building, 20 W 34th St, New York, NY 10001, United States',\n\t\tlatitude: 40.7484405,\n\t\tlongitude: -73.9856644,\n\t},\n];\n```\n\n### Reverse Geocoding Result\n\n```javascript\n{\n\tlatitude: 40.7484,\n\tlongitude: -73.9857,\n\tformatted_address: 'Empire State Building, 20 W 34th St, New York, NY 10001, United States',\n\tgoogle_plus_code: '87G8Q2M4+96'\n}\n```\n\n## Using with TypeScript\n\n```typescript\nimport { encode, decode, Location } from '@aashari/nodejs-geocoding';\n\nasync function getLocationData(): Promise<void> {\n\ttry {\n\t\t// Forward geocoding\n\t\tconst locations: Location[] = await encode('Tokyo Tower, Japan');\n\n\t\t// Reverse geocoding\n\t\tif (locations.length > 0) {\n\t\t\tconst { latitude, longitude } = locations[0];\n\t\t\tconst address: Location | null = await decode(latitude, longitude);\n\t\t\tconsole.log(address);\n\t\t}\n\t} catch (error) {\n\t\tconsole.error('Error:', error);\n\t}\n}\n```\n\n## Advanced Usage Examples\n\n### With Async/Await\n\n```javascript\nasync function getLocationInfo() {\n\ttry {\n\t\t// Geocoding\n\t\tconst coordinates = await geocoding.encode('Colosseum, Rome');\n\t\tconsole.log('Coordinates:', coordinates);\n\n\t\t// Reverse Geocoding using the first result\n\t\tif (coordinates && coordinates.length > 0) {\n\t\t\tconst { latitude, longitude } = coordinates[0];\n\t\t\tconst address = await geocoding.decode(latitude, longitude);\n\t\t\tconsole.log('Address:', address);\n\t\t}\n\t} catch (error) {\n\t\tconsole.error('Error:', error);\n\t}\n}\n```\n\n### Error Handling\n\n```javascript\nasync function safeGeocode(address) {\n\ttry {\n\t\tconst results = await geocoding.encode(address);\n\t\tif (!results || results.length === 0) {\n\t\t\tconsole.log(`No results found for address: ${address}`);\n\t\t\treturn null;\n\t\t}\n\t\treturn results;\n\t} catch (error) {\n\t\tconsole.error(`Error geocoding address \"${address}\":`, error);\n\t\treturn null;\n\t}\n}\n```\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\nMade with ❤️ by [aashari](https://github.com/aashari)\n","readmeFilename":"README.md"}