{"_id":"@anatoliy-stepanchenko/geodistance-calculator","_rev":"2-f3e3ead90e6e4f3cd77878f8d253f45c","name":"@anatoliy-stepanchenko/geodistance-calculator","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@anatoliy-stepanchenko/geodistance-calculator","version":"1.0.0","description":"It is a simple npm package that allows you to calculate the approximate distance between two geographic coordinates (latitude and longitude) on Earth","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"(https://github.com/anatoliy-stepanchenko/geodistance-calculator.git)"},"keywords":["geodistance","coordinates","distance calculation","geolocation","earth distance","geospatial","location utility","geography"],"author":{"name":"Anatoliy Stepanchenko"},"license":"ISC","gitHead":"ef45fe9fb129eacad2e4671eaf6b1642a17a23fa","_id":"@anatoliy-stepanchenko/geodistance-calculator@1.0.0","_nodeVersion":"20.1.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-11WIcfubiLtI6uUixgNOTDYFiKmyL/y+48WW/GS9Nuv+yCLDvtKU6rY0K0ncHe75EvAixBO0Z3gf7z3bpZm8IQ==","shasum":"900aca734ccd3e1d1bd2aa1a2971b538b58b3f10","tarball":"https://registry.npmjs.org/@anatoliy-stepanchenko/geodistance-calculator/-/geodistance-calculator-1.0.0.tgz","fileCount":3,"unpackedSize":2789,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLcU7loO+gFFt3nleyX5RRqqmlhehoYbiqIAMiDBkvNQIhAI0I0qzz3VnRhxE6ScIvSKnweq/iNDPxG/Lwmgvw2a/G"}]},"_npmUser":{"name":"anatoliy-stepanchenko","email":"stepanchenko1991@gmail.com"},"directories":{},"maintainers":[{"name":"anatoliy-stepanchenko","email":"stepanchenko1991@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geodistance-calculator_1.0.0_1698180503722_0.7874080413879152"},"_hasShrinkwrap":false},"1.0.1":{"name":"@anatoliy-stepanchenko/geodistance-calculator","version":"1.0.1","description":"It is a simple npm package that allows you to calculate the approximate distance between two geographic coordinates (latitude and longitude) on Earth","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"(https://github.com/anatoliy-stepanchenko/geodistance-calculator.git)"},"keywords":["geodistance","coordinates","distance calculation","geolocation","earth distance","geospatial","location utility","geography"],"author":{"name":"Anatoliy Stepanchenko"},"license":"ISC","gitHead":"fd4511887ca0553c55a2b382e428d4aa8ed3f816","_id":"@anatoliy-stepanchenko/geodistance-calculator@1.0.1","_nodeVersion":"20.1.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-b2ADFkp1jAGcbcvwmEAWbes5CG/Xztxf23QvZ7S/B/ziTT8GKfJIijf0SxDsTwxYEpzE6wNlZScbMV6FXHhlLg==","shasum":"a3e0bb69e31cd9b2f032b408f6963af41d968191","tarball":"https://registry.npmjs.org/@anatoliy-stepanchenko/geodistance-calculator/-/geodistance-calculator-1.0.1.tgz","fileCount":3,"unpackedSize":2812,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWry0n5hofdQNt/Rhed+PXfOiDmlO6hGBzsEIqAWH7LAiBCHRKA393ewu4QDSIeUjiud5A7SH5X31XmzKTOVrtTpA=="}]},"_npmUser":{"name":"anatoliy-stepanchenko","email":"stepanchenko1991@gmail.com"},"directories":{},"maintainers":[{"name":"anatoliy-stepanchenko","email":"stepanchenko1991@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geodistance-calculator_1.0.1_1698183872961_0.5729927766131533"},"_hasShrinkwrap":false},"1.0.2":{"name":"@anatoliy-stepanchenko/geodistance-calculator","version":"1.0.2","description":"It is a simple npm package that allows you to calculate the approximate distance between two geographic coordinates (latitude and longitude) on Earth","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"(https://github.com/anatoliy-stepanchenko/geodistance-calculator.git)"},"keywords":["geodistance","coordinates","distance calculation","geolocation","earth distance","geospatial","location utility","geography"],"author":{"name":"Anatoliy Stepanchenko"},"license":"ISC","gitHead":"7146570cec53d8664a737dbb29ee38ca0f634d10","_id":"@anatoliy-stepanchenko/geodistance-calculator@1.0.2","_nodeVersion":"20.1.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-TIIspmbvrrMQPEpPCpIIAdqKsBzKuYMLXMIxGlWxRw/VgdjcBU5BhdDnYucQ27gpJb0urB63VBh6PnxWmOxPdA==","shasum":"8a2ee65169909f9892073f5f076437a0c6c3435e","tarball":"https://registry.npmjs.org/@anatoliy-stepanchenko/geodistance-calculator/-/geodistance-calculator-1.0.2.tgz","fileCount":3,"unpackedSize":2676,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy+KxHz1Bjc9C7CiSKUNr9ksgdphBSClBz9ngmP23+eAIgZSLr4+bxo85/4W4HdntTRhz/LI+Ct7UvxsUQaFF294g="}]},"_npmUser":{"name":"anatoliy-stepanchenko","email":"stepanchenko1991@gmail.com"},"directories":{},"maintainers":[{"name":"anatoliy-stepanchenko","email":"stepanchenko1991@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geodistance-calculator_1.0.2_1698221043180_0.9022480944734237"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-24T20:48:23.608Z","1.0.0":"2023-10-24T20:48:23.986Z","modified":"2023-10-25T08:04:03.847Z","1.0.1":"2023-10-24T21:44:33.129Z","1.0.2":"2023-10-25T08:04:03.442Z"},"maintainers":[{"name":"anatoliy-stepanchenko","email":"stepanchenko1991@gmail.com"}],"description":"It is a simple npm package that allows you to calculate the approximate distance between two geographic coordinates (latitude and longitude) on Earth","keywords":["geodistance","coordinates","distance calculation","geolocation","earth distance","geospatial","location utility","geography"],"repository":{"type":"git","url":"(https://github.com/anatoliy-stepanchenko/geodistance-calculator.git)"},"author":{"name":"Anatoliy Stepanchenko"},"license":"ISC","readme":"# geodistance-calculator\n\nA lightweight npm package for calculating the distance between two sets of geographic coordinates (latitude and longitude) on Earth.\n\n## Installation\n\nTo install this package, you can use npm or yarn:\n\n```sh\nnpm install geodistance-calculator\n# or\nyarn install geodistance-calculator\n```\n\n## Usage\n\nUse the `calculateDistance` function to calculate the distance between two cities.\n\n```javascript\nconst calculateDistance = require(\"@anatoliy-stepanchenko/geodistance-calculator\");\n\nconst londonCoords = { lat: 51.509865, lon: -0.118092 }; // London\nconst kyivCoords = { lat: 50.4501, lon: 30.5234 }; // Kyiv\n\nconst distance = calculateDistance(londonCoords, kyivCoords);\n\nconsole.log(\n  `The distance between London and Kyiv is approximately ${distance} kilometers.`\n);\n```\n\n## License\n\nThis package is open-source and available under the MIT License. See the LICENSE file for details.\n\n## Issues\n\nIf you encounter any issues or have questions, please create an issue in the GitHub repository.\n","readmeFilename":"README.md"}