{"name":"geographiclib-geodesic","version":"2.0.0","keywords":["geodesics","geometry","geographiclib","geography","geodesic problem","direct geodesic problem","inverse geodesic problem","geodesic calculator"],"author":{"name":"Charles Karney","email":"charles@karney.com"},"license":"MIT","_id":"geographiclib-geodesic@2.0.0","maintainers":[{"name":"cffk","email":"charles@karney.com"}],"contributors":[{"name":"Yurij Mikhalevich","email":"yurij@mikhalevi.ch"}],"homepage":"https://github.com/geographiclib/geographiclib-js#readme","bugs":{"url":"https://github.com/geographiclib/geographiclib-js/issues","email":"charles@karney.com"},"url":"https://geographiclib.sourceforge.net","dist":{"shasum":"3dcdc5a54ccbd46858b9281d9cdb2597dec95069","tarball":"http://registry-npm.ywwl.com/geographiclib-geodesic/download/geographiclib-geodesic-2.0.0.tgz","fileCount":12,"integrity":"sha512-qRE11UEF3Zn9VwDFf+Q1ZNn4VW2xwZWeAPiFRrKVSKn2K5lds1jOxhxgFJwbKh5YV58ME6+LGiRtm4A0CjFyiQ==","signatures":[{"sig":"MEUCIFrc7wZl5ibDJyBsxeqpGpgS1bEqvr/jqjLeYc8KteLSAiEAxiDx8sU2HHYUYLV8+VNcbLnL94+JP8phQ5xbAjLXFrk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":280052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibF2EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpscg//Xv7nKL9dkrTUfa5OFriLCHu39UCUutWv22ShAlLftQFM6bp5\r\nBD3+XZmzZiJ5MmmtL+OG7jr3z6+xiAgrOsV3Swws1MePkrhrSWFgICVLzbxl\r\n/wOCDwLvwfh3DUlFxYQWgWYZ96PVH/4ssgrxKIklZDzCTkDNG2Kxajxkot9c\r\nSM4+xiNoracJdTSO573u+DCMrU6gH4a4FWP5eStHFwcTrUgrAc7lTT6ZWhR6\r\nUJYuxURu3t+QF/xwjn+/2kO8OpS4fGWYL4HTlNxbh2P8kFmwzZQITOTpY0qd\r\nKzqcSuxnfHLDyCSStkex7LX/FvYY8PLnxTjVUHOkEUAqC9iaimjCxUpJqVMm\r\nfAmszVwR69nNs2QGSN5s8A0eJwXmplP9q9/vzpM7wuQdewX5MaCxOlZv4HEN\r\nBe/JQwimUuJLlNXs93s0a7L7c6essnSY2RohSKf4RUIhg7DWSYm9caLYEsxL\r\nmcGWxpdTe0NtxamyrrT+vQM/jgSXkw2+u85eoQLh1OL0BWeaT/RWM3UtY2bT\r\n/Zf850gnVjv//vHR7VrlNIR4cdmL/aymQMXkHXtt9DZuCiiGYeOa9EeD9DRF\r\nFS4L2negr0/d8j+Uz1hniWFWjMHzmA6crA5OJPsADUGo8jrx5v8yMc/43Svv\r\n6IPyoReGtgw1/DHjrHVvLSfIaG4R3pLSKfk=\r\n=buvX\r\n-----END PGP SIGNATURE-----\r\n","size":70792,"noattachment":false,"key":"/geographiclib-geodesic/-/geographiclib-geodesic-2.0.0.tgz"},"main":"geographiclib-geodesic.min.js","_from":"file:geographiclib-geodesic-2.0.0.tgz","types":"types/geographiclib-geodesic.d.ts","scripts":{"test":"mocha"},"_npmUser":{"name":"cffk","email":"charles@karney.com"},"_resolved":"/home/ckarney/git/geographiclib-js/BUILD/geographiclib-geodesic-2.0.0.tgz","_integrity":"sha512-qRE11UEF3Zn9VwDFf+Q1ZNn4VW2xwZWeAPiFRrKVSKn2K5lds1jOxhxgFJwbKh5YV58ME6+LGiRtm4A0CjFyiQ==","repository":{"url":"git+https://github.com/geographiclib/geographiclib-js.git","type":"git"},"_npmVersion":"8.7.0","description":"JavaScript implementation of geodesic routines in GeographicLib","directories":{"test":"test"},"_nodeVersion":"16.14.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^9.1.5","minify":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/geographiclib-geodesic_2.0.0_1651268996624_0.08483055401003448","host":"s3://npm-registry-packages"},"readme":"# JavaScript implementation of the geodesic routines in GeographicLib\n\nThis package is a JavaScript implementation of the geodesic routines\nfrom [GeographicLib](https://geographiclib.sourceforge.io).  This solves the\ndirect and inverse geodesic problems for an ellipsoid of revolution.\n\nPrior to version 2.0.0, this was a component of the [node package\ngeographiclib](https://www.npmjs.com/package/geographiclib).  As of\nversion 2.0.0, that package was split into the packages\n[geographiclib-geodesic](https://www.npmjs.com/package/geographiclib-geodesic)\n(this package) and\n[geographiclib-dms](https://www.npmjs.com/package/geographiclib-dms).\n[geographiclib](https://www.npmjs.com/package/geographiclib) will be\ndeprecated on 2023-05-01.\n\nLicensed under the MIT/X11 License; see\n[LICENSE.txt](https://geographiclib.sourceforge.io/LICENSE.txt).\n\n## Installation\n\n```bash\n$ npm install geographiclib-geodesic\n```\n\n## Usage\n\nIn [node](https://nodejs.org), do\n```javascript\nvar geodesic = require(\"geographiclib-geodesic\");\n```\n\n## Documentation\n\nFull documentation is provided at\n[https://geographiclib.sourceforge.io/JavaScript/doc](\nhttps://geographiclib.sourceforge.io/JavaScript/doc/index.html).\n\n## Examples\n\n```javascript\nvar geodesic = require(\"geographiclib-geodesic\"),\n    geod = geodesic.Geodesic.WGS84, r;\n\n// Find the distance from Wellington, NZ (41.32S, 174.81E) to\n// Salamanca, Spain (40.96N, 5.50W)...\nr = geod.Inverse(-41.32, 174.81, 40.96, -5.50);\nconsole.log(\"The distance is \" + r.s12.toFixed(3) + \" m.\");\n// This prints \"The distance is 19959679.267 m.\"\n\n// Find the point 20000 km SW of Perth, Australia (32.06S, 115.74E)...\nr = geod.Direct(-32.06, 115.74, 225, 20000e3);\nconsole.log(\"The position is (\" +\n            r.lat2.toFixed(8) + \", \" + r.lon2.toFixed(8) + \").\");\n// This prints \"The position is (32.11195529, -63.95925278).\"\n```\n\n## Authors\n\n* algorithms + js code: Charles Karney (karney@alum.mit.edu)\n* node.js port: Yurij Mikhalevich (yurij@mikhalevi.ch)\n","publish_time":1651268996812,"_cnpm_publish_time":1651268996812,"dist-tags":{"latest":"2.2.0"}}