{"_id":"node-geometry-library","_rev":"10-fbd99abce27adfb664481af7345427ca","name":"node-geometry-library","dist-tags":{"latest":"1.2.6"},"versions":{"1.0.0":{"name":"node-geometry-library","version":"1.0.0","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"src/index.js","repository":{"type":"git","url":"https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","webpack":"^4.39.2","webpack-cli":"^3.3.7"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack","example":"babel-node example.js","release":"npm publish"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2019 Bunhouth\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"node-geometry-library@1.0.0","dist":{"shasum":"f8df4a66df558b3004bc817f72807d2c0aa62617","integrity":"sha512-OqKJ34yhnkxR3lFHlDBFoxs4K6Slf8T4dWWdohzf5smcoymZm6R7c3yF3czH6NiAIzJm7BwU3xsevEI2XNnQtw==","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.0.0.tgz","fileCount":11,"unpackedSize":45152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWpMPCRA9TVsSAnZWagAAJwgP/1ShpdSYYwEB2SzoEBiX\nitWDLN+wPGf373b613eaLZzUdmED8Ow6jM/gQCfutmF3OS6PV2XiEhDuPmYG\nQJl9QhvUR8oeAc7LRHSspz0hIkwd6SQwOOOVJS8DEHLeXkLHOUpC6Mu5DQzU\nB+5/rvBkzNw0DpLOOGsfWV3LoYnIiFUq2SJ2L7/ESOp//1QfN4/ZFKBAi9fF\nmtaqRwXL4UBb6K4iocsyKgSrNlth98heDlg7ZhnxP6WZzAMv4u7yiyuXV9Mq\n0WsMgxdbnPA4YO7u8QbADjX6xkcAkqgaCIqC4/C5vXPnx1iLCj4G6PEIr05t\n2Kn9FhUap52g3DcGHWRbPS90StAwtuzUC5EpmGvfQxpWXEEp2CaebZb7KmBM\nPIbdxYKIG5jked7X1usriJHxdvSnXPrdWxodaAhUyPAQgjIQ9lcb64NyTEtj\nrH+qC60b8/27sPug1ZRgHfSXz/T8jMCBLOX7WJBQMAor6uvPsopsMf91HTtZ\ntg/T8xvk2wkfYtvZp1kBkcgl+oJ+OvveiVR/b5yN3cg02I6aK/auZJCU95KN\nR8252nOXbv3Y32NijexGJAfw3+uRnDFqRBpl+6hiCjvSHMreB50lU4bQ+xk1\nfa+uUy2Awe1FTkYRgxUca3eWUBYiKZnq/Qf1zgUYaZ98zno264R8HwqpC6px\nnV+y\r\n=ddSC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH7es/Z2ag7B9rAG3JWUAR5si4BcEmfFIYvRrXBljk/KAiBmcWuKDcv5BftS8nMhH0ajo3yRui8rrulZxHCA9Tj93A=="}]},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.0.0_1566216974839_0.957705702671271"},"_hasShrinkwrap":false},"1.1.0":{"name":"node-geometry-library","version":"1.1.0","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","repository":{"type":"git","url":"https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src -d lib/ src","example":"babel-node example.js"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2019 Bunhouth\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"node-geometry-library@1.1.0","dist":{"shasum":"dbbac0f25392558bdeb6d13d8cfb432777380ad5","integrity":"sha512-FT+S3x3TTeKOk7MU0X9ZAYRFFBooj+3gHqaL+H9fr9sKHhf71qR4J/dKPf9FaMqOEgrVFK59ZCUKccMvj+e+NQ==","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.1.0.tgz","fileCount":16,"unpackedSize":80472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWuNqCRA9TVsSAnZWagAA0hcP/Ar/z4Z1lXDammKBM6Ik\n5bdagghhbG+0wbdGlyJT1o4wXMZe47xMZ+HICfv/avMVoQiL+H8J89QH9Ubm\n/2j6lYQlix6MCscxbEzHNvMMXF0Mbch7bsihfyRpCm9RHk106EaPowm3xRt5\nlo8WLd94kh04Ar8/ZUpJbsTKhQ6CeStYp4QqfVf4b8mxITgfdtUSnk0DAnx8\nChWYeIiFbrpILnNAI5lnRZH7L68dCEx8YEC9jF+WBhGRTscxWqA7HhC8rbEq\njnLGGfioIaqUXUMvjd/UereTEHvLOjpR7J9lJrNjQ5FdfMl4j+bHBHoDfu+9\nwGRsBV5+zWTic5r3juZPl8EWNUx7ZB2Dz/cd5IIetImFEPbq5jWJHvzOrPpe\n7py+IvYnL7wOgfkun80P72XD+cZG5XQWvv9n6lMhPUzQEOMmWLCUTEvUxk8J\nfbmJn7wruhofGwJXQMP7vfxrnVryBngxhv5YSxJv7hrbwI0953hJsTSx4yXM\nicGF2cbQcBBA5DD363BtZY6rFLiy1XTzvvcjbG8uCtuIrRJWHLTRRZskfSpw\nWCX+cwJZI6n5/4EWR8lZ2UC1qNc6/4f1iOl7Et/reb9LxQalfSjakhfP5X4G\nnQvWDQEqQiGvvDa2nhNoamfW2VZps/Yq1APfyv9URkcK3mpdDeymEFWgVEcR\nvCLz\r\n=DUoX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7IPJO2voiFfsOpnzwHSnigZrNBGqIPOHk1Y/0E9TgxwIhAKBc7LpxGQiyycEvsS4luXeUeV6c2b0dKlNaBkWRNHZj"}]},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.1.0_1566237546058_0.3361502083975685"},"_hasShrinkwrap":false},"1.1.1":{"name":"node-geometry-library","version":"1.1.1","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","repository":{"type":"git","url":"https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src -d lib/ src","example":"babel-node example.js"},"keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2019 Bunhouth\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"node-geometry-library@1.1.1","dist":{"shasum":"02f85ad9cf1f398c22db314bbcaf7bb64b315ddb","integrity":"sha512-63JM5CjpApl95dUxF6IrZrvg2N47+bwQJAR0y52rlBasmaUCb6BVGMCMKqJpJz5IIg3WphNmsZ+XGR3nHC2TDQ==","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.1.1.tgz","fileCount":16,"unpackedSize":80705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWuS6CRA9TVsSAnZWagAA4sQQAJP0BLjzpDJBI0RxCuAC\nuydjueQXy+RUGhAGCUqPIwrdsRo1P9ssjvH6IVBLj3lgRcWHEjOd2uXrUTW7\nI821COi+0O9X+bn2PEGa8MwdrV1F4fpYEVe9j7TZBtYPlXvmh3tb5QoBwwHV\naaol5n5kYZEFa0YXOUuc7mpNHNn86J3YewPOoAj7I1nUTqphcoVvaM5MEMQf\nFDDiPtbxZyjhQwzX3vBic/cbq479HwlR9YIDsbQuoCn8J8tfs12k5QrwM5Hg\nTLFrs4K01qpn5urxr1yLZX+l0gLIAI9/bbyunrnZCBjjaoPCSXC7buZPul7f\noZyB93Z4qDseXjVfaAko269Ca9BcXSnPh+XYP/0TlvzU7FZn5bzfc1izw0F4\ntCRuHPiiK9RdAh6B+2Ml0Ih9L08DVZ+IVnKGT8Zd6Gzf5e0d5tGzDu0QK1k1\nMmFp5ZdJaUr4rHMwj+DMcFEdk2Y+xmMUcllaatklrcH1deqAiQYM3G7mDCMN\nd6wxqpV2wb32wYBNgW3z4KM1BtImyPVHbtU6aFAdSpHcE4UI4Uiksd02Q8Fb\nWVvd/O5Uxcj4H3b6uupJw4Vnk0oT/Z3zSA/6iYf6yw0lDQGw53Bh1Q1eKoBk\nFcu8PSb/OoOiQbcScJuJHFohLK9kv/VkC3HCZiHSwJrZMmQ7IJJnPciXn59W\n9dxr\r\n=hOIh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHTaBpB3m28Q8E05CFncSt5V5FkO1pEH+hl/bCt+XyvAiBN+LHyUVqkZsGQObIkBYABenljPXXvfJaTVA0dGMXDJw=="}]},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.1.1_1566237881376_0.3188848988836068"},"_hasShrinkwrap":false},"1.2.0":{"name":"node-geometry-library","version":"1.2.0","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","typescript":"^3.9.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","example":"babel-node example.js"},"keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"gitHead":"27d086082e238bbf583f326c18218b2712d58822","bugs":{"url":"https://github.com/BunHouth/geometry-library/issues"},"homepage":"https://github.com/BunHouth/geometry-library#readme","_id":"node-geometry-library@1.2.0","_nodeVersion":"10.15.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-w+iHyREutp0p4p3CMj7TfjccNCQWol08U14ckYPYtpqtbeeOpke0omgiajtWRJL0Bj5dW1Gn9SgjrRp/hCCnIg==","shasum":"1f36d745845eec4ebf3467861b814a42356a5999","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.2.0.tgz","fileCount":13,"unpackedSize":58101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevYdtCRA9TVsSAnZWagAAXLMP/joPhjvTL0zixFmtfnIh\n651dsdEEkDnMw5DKttmLELqylL7hZ6YgaOLAwBPPUADL1a3vv/Kq8FTfriRk\nBvBWKPh9a+Ld0tMJnqtDimFMh6gjeu6hgSwd//nJ29zpI0fHVeKU1TulqITz\n55mM7oU8XzMhYNRLvdOjcJ3YFl+lkIWnrpJqfuMrjGp+0t3xEZ6ryYxWlJly\nvBk2bB+C8OpL/4+uTbexlo8tBjvoD/Ql6P1M1ByNbkdqBYmi1abghsYuNdi7\noTCMVTdO6m2/L0ZJ+ifIVhRDw7i1R0LyFaUmLYrtpv7pkbouUp1G/2C+thn6\n5F/IXrCGUzCXTyJamFIF7KwlCHNwmpIVbp1IvjVgiNxVgC0b4NCmOuKCG4zv\n4f+23mxR3toiMY9skyH1FXdFWGBYmNCQQOEt0E1isesPlOGyyNvSRjm2pi5A\nydSW8c5gjlqmpf/ZE6bF83jl+K+EzS8PGPTLg6rH8I9d694qD8oVFr8+gi4u\nSdYZM+neGRpWKXUjaVFnTRKwLc/xU4aSde9eO3O5mKXkqCvbXNAbz8YCsUyN\nLua2Kf6ZXUQaK7eIiDt84hHZYa+pCZFBPX5dmIsP/B5AkLaFPbsOtWreFcSN\nfgiFvBynUiIPShseZrA4yF5PvhiUYkpXmX9uJkWgjuinukREbStgWP1y84ei\nToR9\r\n=SFTZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEg3dnWPahOxaNAcdBB4WD97KcrGl3eMMHL8hPEtWsFRAiBINdppU449i0UI1GcWc/rTYfjg/s8Fh8P1ccSQbqhk2w=="}]},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.2.0_1589479276146_0.6770541031214989"},"_hasShrinkwrap":false},"1.2.1":{"name":"node-geometry-library","version":"1.2.1","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","typescript":"^3.9.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","example":"babel-node example.js"},"keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"gitHead":"69cf3127c69e8ad9624289909e178cd0b160d22f","bugs":{"url":"https://github.com/BunHouth/geometry-library/issues"},"homepage":"https://github.com/BunHouth/geometry-library#readme","_id":"node-geometry-library@1.2.1","_nodeVersion":"10.15.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ja6IqlRgw6oWoLm3ISug8/1sRps71C7+obqKqkiNHXni8ZpvltPu7gw0pXInlhbTWBVoICeuzE/mJUu1hZTASg==","shasum":"592df58523c34b34c6a9d50047f5902156815a9b","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.2.1.tgz","fileCount":13,"unpackedSize":58145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevtOTCRA9TVsSAnZWagAAND0P/2LuazZSGqopS1w6lUOP\nFxjyvBSnD36JohLeqYQqtKBrhM+ZGY497raYnBjOetj4Ard680i6/ha1YcnV\nnewtLYO4m+cm0TsAko79uQdu8EKX8PetwAkAJGAUBmgqv01ewffzW8R48JiL\n8C4opgH6yItW6ao/ehM9k0b3ZUIvMsGgs5PwAuUQJoglwLEqGAM7LKiwVcd+\nJsMJUHCjfEbWOGIcEo+Ypp457loUqyQ/Oqwi2LCWrg6mwPxwVQM61xLIdS4q\n7EF1H5V3tbLtWHODJPfknezjN2FL+0YynHYq+ShX1CGGIBuVpxkwQjH40ItV\nsVTnpdhIUwLNqJckQb1dvyYoYcToAmQk5ioJN64oCExqyGkT11aT7IqXJSMg\nWntXWFFpdh9S+DMOhaNvm8GqOEaxS3NoEvRx/xiqc8gw3IubtModDhpA7VDH\ntsdoydDAmruj0wVWvS7xxOYBA7GGFda3Zb57jLNd8laNy1ItxWhOjX4PN6qj\n1dJSmvdVfui3i+KrcUxWhmRfH80bGozxrgpbfcoLld+pu8mudrgicFtDXGFy\nLRwpzlTW+04mXL4c6BsTQca3TDZYwT7Ncf+ZAa8PVneLgatwESiv89Sei4nT\nbL3LhwQXyJHzCaeyOAaqslthpsZXXFccpcJd+kOW2qOYJRioKJWB4IzEzxQn\nTOPy\r\n=PzTY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIClv6rOX9mqOOJnX95p1I6iNZGrK1bR0LIpbOV2TupQ0AiBvZCo8kC8NkSyqDoWiuEsX7Xx7iYNUfNjwwrZ2aSxHyQ=="}]},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.2.1_1589564306678_0.27731929586299375"},"_hasShrinkwrap":false},"1.2.2":{"name":"node-geometry-library","version":"1.2.2","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","typescript":"^3.9.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","example":"babel-node example.js"},"keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"gitHead":"e186180f28e2891e89bf95627a98a1543b003d71","bugs":{"url":"https://github.com/BunHouth/geometry-library/issues"},"homepage":"https://github.com/BunHouth/geometry-library#readme","_id":"node-geometry-library@1.2.2","_nodeVersion":"10.15.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-zcYO7vTNryjwBil25HRFjbSgKagqYdRlR+N2Vj4kW9A9i8Q3nF5CmE/4scRFG+eJMm4Qtcsf+E1zntJ3Ic9onw==","shasum":"4fd6cbd4305dbe703ef3083770df0203ec54b241","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.2.2.tgz","fileCount":13,"unpackedSize":58286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJev7jXCRA9TVsSAnZWagAA6EQP/1DL+hxpmz+yDnkYmb3s\n5qQBtFIT8zdTn3T78Ynmlt1n2sYW638IQcjUtzCKOr5Cmewtf52YMLPVlBMH\nxYkgdyog6Yl2Wuuib60wwG4wcjXZAwmKbM5Tj62sglcyhNoQgfd3vcQA3oAC\n3edJbWXYO5VyiebATsk3rxjbzcp/e4Spk1qX0wRuajtZ5xMHvU0ib2WD8pwU\nX/dJmWiNkAztTT37qaPCI5nDSNmsMT/6AYfys2+j8iX7EnUmN2gHOgLWi0cv\nhmSZ2qyKayeTMgCupSOPaGTKCVg0QXA3mLa87+mR8XSgH+O3CJ33rK2l9uZU\nv2OFz/70dC4m3OvLbi7nOOpAkCoOaWyASsqs+ci0KNECl05t6w5V9SKl5xie\nFMt0wlvLnvkpm63JrDgETyuzb5VB7OC3874IZMP5YxOoSpCxe2rC3zhLWrmA\nMsdP3JWs4lcG56syPtl9njLptEs5gtF+TXHb++IKAWHrkqWMN+zMdSduGd4V\noHJFk7feBKlpMG7Z2JTx2vAs4AOnE6eLu8DGAsHQd8h37ViPEna7gw5W951V\n0WbjKb76EhhuMVp/06btISdXYMf3SMArvbDt2OzRGF+ifbLWaek15i0FXmeJ\nY8zxOWb9pz3rjzE4XK4bKq7nosipuRJGXU9o23ueuvGxpPCqa2Ja5N6ppY/C\nlfuR\r\n=RRhG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAY9Bl9QNhzLE8jx9FUm3d4eEy83ZpjmTIib8kXLymQYAiBDPJ15fMGgCkRb0EVKillPF+Y4l+t6fQQhLoOlBtT5vg=="}]},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.2.2_1589622998955_0.542509258410941"},"_hasShrinkwrap":false},"1.2.3":{"name":"node-geometry-library","version":"1.2.3","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","typescript":"^3.9.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","example":"babel-node example.js"},"keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"gitHead":"1c973a571bd3eb0c76d0c57b443d024f26fc11b6","bugs":{"url":"https://github.com/BunHouth/geometry-library/issues"},"homepage":"https://github.com/BunHouth/geometry-library#readme","_id":"node-geometry-library@1.2.3","_nodeVersion":"10.15.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-5AGjpND57SfcIVmKABK3mQSbvAKPb6O27EM6ECP0718eN8uJBI1WQcmIhljqh2a+J9zJV9/dYl9d5dLf2/eOww==","shasum":"08b6a4dda7a6399fb35c86f1a69cf2fc99419129","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.2.3.tgz","fileCount":13,"unpackedSize":58179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4F/6CRA9TVsSAnZWagAArQkP/27L3uF3/bhWt+366TPK\nkPucujht2OImUqKzLYCd6uV5FBspscjT66sYmPMz0WI1U79IZihadVo6KxC7\nJG43bjmTzOuLO6AbZLNOlvZORYf004EQD+htJLbGAUMYOhYq6vp46eP2YDmO\nMTCP6T2F/CJk8VYSYDw8z92yrHWVzlsfS4RT947IYe8n7HqYPb4iZ/H7VVlm\n7y3opImYhoYkrrUXol96352H//hu2hvrQ2X8ViGohTpAnGLNLxD2BqGX02n6\nDvLahnKwOXdPPbkXs0PR4csqrvAXPHqxOWWSqGtpeOqFZgd7PHSf991nVpnx\nBMYF+YE8Mg2ILpgu2OfYCKEIlKR+47j2vaUSNdUUvCXfnv+TaQ8go06kMtJx\nyJFIt3Us0QrcoKWRDQRXAgyLa/2cLh9l5szA/8/BkwIlylZfFYhk2ygb58Qk\nhSWq7uDO6CGZxH4qpry3dqSIa0x/LLWusnwqKYtl2PBZoel+ismv81VEvxqc\nQsoloUMC2fG4aYXK3TPlnfzGt7tsqCb3XV4/QIfymtFOfqwjydL19RDDnpnK\ntflCoyMo0MalS9qrm0jvhxtPvfSXyUVdI6wMRiqVXnqVQv2Q2U+vnUkqHqlH\nqg+BRAqK5iyK9f6dF7+D1AIy1/AaoHtUF/aC8xl7Op4sn41hkGsvaKCrxV5H\nn7R7\r\n=a29X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyU+Hl3HxjqoTjlXrHYR5/KP5WmcEtAtZPPMaLc/JcowIgTrCM60T5Sl7CadJuciFNzRZ3pLUB6X7/obzKsntDYZs="}]},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.2.3_1591762938348_0.28684743305825666"},"_hasShrinkwrap":false},"1.2.4":{"name":"node-geometry-library","version":"1.2.4","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","typescript":"^3.9.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","example":"babel-node example.js"},"keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"gitHead":"d60084627a0894f29893bb3a60c52e3c6c32ea90","bugs":{"url":"https://github.com/BunHouth/geometry-library/issues"},"homepage":"https://github.com/BunHouth/geometry-library#readme","_id":"node-geometry-library@1.2.4","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-/o1o3tswWCZXq3fXZg5HuC4+/2YgnuZp0nbnkVnErH/JfwaeveDc/i+cuMf5pqhiGmdO8z21rqxSaASbq5sSjw==","shasum":"8f6dbf2f76eafb1a6e62ef49b29412d52fd58e6d","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.2.4.tgz","fileCount":13,"unpackedSize":58178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC1zTCRA9TVsSAnZWagAAlEgP+wbAlY+9tpGsWPrh/yUj\nCOsGK600agGVi9Csef+GTzxZNNHAaaUaE6gayMAGlNBOZ8Ck+9fDslkTdMRL\n7N18a9sIoOwfD930IO8ZHlV9zW/uit9VqdDCIZRa/INggT3WNc81Xprkwr0G\nphjQApN69Ol+iJaLcKt4Yd6/7fdBSnwQIiHgRzUlDu269SAh5CP2VuVM4UnI\n/bvB2f+KKZVN+DRngpgtQX0/7YmUUr3olzoV2tWAShl6btr335C8icyLPr5h\nD3M6r7LW9bUOsifPJvt0XD7uPJ7Kg0fWGfVb/uWt3IaWTj2YvR8VA69rBU7Q\nmOT9gAc9761VHHD9FQJy9GuK6qGogimU5vzrFldOT/FDaDp8zESz5XEwh0Ah\nXjDPeQpDXAM+4kT6Y1n6IF7C1ffB0XvZBt146ntSM7e2t5VqDjIeMi25o7/u\nalnsCaj4sg01lJAW9NASm8/Gxp56xLMuoJy+vI8HWYndwEexPZcFz60Raj3E\nbi23406C3/MpvSAz4yPGexv1Cy3zaaaIvRAJfXYZDaL1mAg/YVobKZJxYqsx\nnKDuxt1SryH+Kii+3s+KJqPFxSlfsyaF76TvetOAfPzEDcH/WTu1Hq6hJa5m\nneLcSPMylDj6PMdUd07svvtS3Mec26hPUst1YUyHyvdOcPW/0RP9aPWxOWlc\nCidm\r\n=Hcfh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpIXaldPW21SypyEAZ1yA2RRKUZDr8b2BBJrrydKwUNgIhANLKXeFC6qPM6qpRHySfY4ypNeWIgtfkj99nf8uJI4Ee"}]},"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.2.4_1628134611809_0.9109860040532545"},"_hasShrinkwrap":false},"1.2.5":{"name":"node-geometry-library","version":"1.2.5","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","typescript":"^3.9.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","example":"babel-node example.js"},"keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"gitHead":"6ce2b4fa32455d96840664d97176280c81427444","bugs":{"url":"https://github.com/BunHouth/geometry-library/issues"},"homepage":"https://github.com/BunHouth/geometry-library#readme","_id":"node-geometry-library@1.2.5","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-SNpIcD55N3wfpx8slKiS6FfQxKpX04QRTeK1XWj8PCZ5KdOu6AV5/aCqf6biuiWy94tTR1SZN+JwhwbXpfmwHw==","shasum":"a13cf599e1cc2debe2802f8c0c9c195997246817","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.2.5.tgz","fileCount":13,"unpackedSize":58220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHGcSCRA9TVsSAnZWagAAz8kP/0Aq4YZZ8vhLpZj5Rezb\n8yhO8acnCdhrhR5pRux+/M6aidmsskDCQRtK+js6bvpVVShhUxS0naGHlhcg\nozAW9xrARdzbmJ4YP7zVZBPjwTYw/KFatXL7TSmp7b3GNHRpRe/UkvSuNUjW\n9ViqELpp/e6sNV4++cDRHMyW4S2CNhq4L7GwALt1oVXhqdkhoh+sNpy0HKhc\nni220Uz82J+6XYfLCOJ5GQdq9Y7NNCQbEybkCmh4Cnl3JmuEO74BFKrRpAY4\nUqy4+Ha1vMHhauF3S0Tz8Z+y54QxMfEM6tNOO7PLQF4Y024pO/Qfrs7LKrb/\n8W8Ab//g2QmVUBq9RPxzMJmlzw6uqPm5PMPExkNJAKiWL7Mcga/2xmlp9Emv\n3fWJiU1t27OxqVxxEX3RfX9Z5WeEJR9zh+72HtDgiAf1tP6b0xWb1e8B0DNG\nfggG+Z5dD2xYMeAp/yRAkIMMSspk3G/abBWSEaSU+qN18AgM8Lc7zVZAKcA4\nDqqK10EflB9Cc55DF7m1PNfz3OfJeanyhZsK21PVH6VgOzAa/dc/M0U2kS8a\nnN2+y5B+vhikOvpipSUI0XmRG6JwyW7wVLRCfk0JFJ/20nSeNA7DqVOyoHsV\nMDWz5Wp0iBGq5Z5AeiTh9/vHrPgdO/Pwnz2nBEfnsbhESNAjfpwePOg0nXFv\nn5qo\r\n=oF1i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3BFw5d1QhCH1ktYRqLJvuDHojMETHaR8+DkmOO4+9gQIhAJ6Pzog5XyCnH6flj3If/GdOzsgShl7L5S/Kp3/QE7t/"}]},"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.2.5_1629251346664_0.9086414044353424"},"_hasShrinkwrap":false},"1.2.6":{"name":"node-geometry-library","version":"1.2.6","description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","typescript":"^3.9.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","example":"babel-node example.js"},"keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"dependencies":{},"gitHead":"6f788ac3cded5b17f3a1a3d10a0aada19620abaa","bugs":{"url":"https://github.com/BunHouth/geometry-library/issues"},"homepage":"https://github.com/BunHouth/geometry-library#readme","_id":"node-geometry-library@1.2.6","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-WGI1tbEjfwhI+3iKhXQro1+A3HjUIKgRGXneZ+E5IT+KpXLp6tFH6IPSr5nbXR8t72/NxSCp/Zax/QDroeSFeg==","shasum":"e6bbce4db6afcd4c7a970ca4bcfb9a0e5bb1a1a3","tarball":"https://registry.npmjs.org/node-geometry-library/-/node-geometry-library-1.2.6.tgz","fileCount":13,"unpackedSize":57363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh05/PCRA9TVsSAnZWagAAaugP/iWrTE/QSHteEKHT9AKu\nJs72aaZ5VpIblFQecPc37vaB526zSdRJj3qMC6CP8fffnqqRlMjM+hURavvt\nJHeDCjoiYcWJlXxZBJV7zn+5DmdEfkpjW47Kdip5medye9fhWAhZ7NQExd9J\nqaEjw6/jiIz4TUV8IQLc3Q7JChJIdSS4BpQuAawBBH17xy0IGSIGhV0HUK3i\nu6oW0ZGux0dCnS0mcmoGY6tTS3FkuvzNRVe6Kl+LuGpH5cXklADWpZ2EI8b5\nnO89Yj3/JPdZQyVgITCr6NE1NNNh7aeAOLjAG55gWNIcv/KgPMLIVdFFrKZf\nQsml8nqbpIRYpuAJ95od4h4phbPH9UOQ4dTbXiXaXdmUyQf7jD37ps4UdiBh\nMZhLWG9CaNlvW1ic44Ujk1rGvQbxt2osBSitJkTPUO+8gg/7bLE16yWpCvfs\n0Q5UOcAmSeG0qCavyfeyVuvnQKbVkizSgo73v5Qk0MGt99IPQ4AlwysHxBlw\nAyofcr5WCDtle5ixaLXmdMKXlZ/IXrYB3HFYzQd+EzuaM7/vss6OjNEyBGUI\nx/iVIGkosg2XXElTGFjfzhlCun52eY70XUd8ox+/LZM02D34k+XxUBH8otYz\n4ubbegeukUU8AxlPtbIjcRRCK3kRoUTz7Laux7yI6GLHTUpLyStn91OwOm29\nuQ7Q\r\n=GJsc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6ITXB30KuFiagzxRk+83vAlmemc0jaCQtG0odsC+E5AiEAokjg8E/n5z/qWTMkwZ7svTP/8yzvz5e9YC5FLGB5UtU="}]},"_npmUser":{"name":"bunhouth","email":"bunhouth99@gmail.com"},"directories":{},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-geometry-library_1.2.6_1641258959419_0.9678182514358082"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-19T12:16:14.839Z","1.0.0":"2019-08-19T12:16:14.964Z","modified":"2022-05-11T00:57:24.263Z","1.1.0":"2019-08-19T17:59:06.196Z","1.1.1":"2019-08-19T18:04:41.614Z","1.2.0":"2020-05-14T18:01:16.330Z","1.2.1":"2020-05-15T17:38:26.839Z","1.2.2":"2020-05-16T09:56:39.145Z","1.2.3":"2020-06-10T04:22:18.520Z","1.2.4":"2021-08-05T03:36:51.929Z","1.2.5":"2021-08-18T01:49:06.821Z","1.2.6":"2022-01-04T01:15:59.612Z"},"maintainers":[{"name":"bunhouth","email":"bunhouth99@gmail.com"}],"description":"Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.","repository":{"type":"git","url":"git+https://github.com/BunHouth/geometry-library.git"},"author":{"name":"Bunhouth","email":"bunhouth99@gmail.com"},"license":"MIT","readme":"## Geometry Library Google Maps API V3\nNode JS/ Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google [Maps Android API](https://github.com/googlemaps/android-maps-utils/).\n\n\nFeatures\n------------\n* [Spherical](https://developers.google.com/maps/documentation/javascript/reference#spherical) contains spherical geometry utilities allowing you to compute angles, distances and areas from latitudes and longitudes.\n* [Poly](https://developers.google.com/maps/documentation/javascript/reference#poly) utility functions for computations involving polygons and polylines.\n* [Encoding](https://developers.google.com/maps/documentation/javascript/reference#encoding) utilities for polyline encoding and decoding.\n\nInstallation\n------------\n\nIssue following command:\n\n```\nyarn add node-geometry-library\n```\n\n```\nnpm i node-geometry-library\n```\n\nUsage\n------------\n\nHere is an example of using GeometryLibrary:\n```\nimport {SphericalUtil, PolyUtil} from \"node-geometry-library\";\n\nlet response = SphericalUtil.computeHeading(\n  {lat: 25.775, lng: -80.19}, // from object {lat, lng}\n  {lat: 21.774, lng: -80.19} // to object {lat, lng}\n);\nconsole.log(response) // -180\n\nlet response = SphericalUtil.computeDistanceBetween(\n  {lat: 25.775, lng: -80.19}, //from object {lat, lng}\n  {lat: 21.774, lng: -80.19} // to object {lat, lng}\n);\n\nconsole.log(response) // 444891.52998049\n\n\nlet response =  PolyUtil.isLocationOnEdge(\n  {lat: 25.774, lng: -80.19}, // point object {lat, lng}\n  [\n    // poligon arrays of object {lat, lng}\n    {lat: 25.774, lng: -80.19},\n    {lat: 18.466, lng: -66.118},\n    {lat: 32.321, lng: -64.757}\n  ]\n);\n\nconsole.log(response)  // true\n\n\n\nlet response =   PolyUtil.isLocationOnPath(\n  {lat: 25.771, lng: -80.19}, // point object {lat, lng}\n  [\n    // poligon arrays of object {lat, lng}\n    {lat: 25.774, lng: -80.19},\n    {lat: 18.466, lng: -66.118},\n    {lat: 32.321, lng: -64.757}\n  ]\n);\n\nconsole.log(response) // true  \n\nlet response =  PolyUtil.containsLocation(\n  {lat: 23.886, lng: -65.269}, // point object {lat, lng}\n  [\n    // poligon arrays of object {lat, lng}\n    {lat: 25.774, lng: -80.19},\n    {lat: 18.466, lng: -66.118},\n    {lat: 32.321, lng: -64.757}\n  ]\n);\n\nconsole.log(response) // false    \n\nlet response = PolyUtil.distanceToLine(\n  {lat: 61.387002, lng: 23.890636}, // point object {lat, lng}\n  {lat: 61.487002, lng: 23.790636}, // line startpoint object {lat, lng}\n  {lat: 60.48047, lng: 22.052754} // line endpoint object {lat, lng}\n);\nconsole.log(response) // 12325.124046196 in meters\n\nlet response =  PolyUtil.encode([\n  {lat: 38.5, lng: -120.2},\n  {lat: 40.7, lng: -120.95},\n  {lat: 43.252, lng: -126.453}\n]);\n\nconsole.log(response) // '_p~iF~ps|U_ulLnnqC_mqNvxq`@'\n\n\nlet response =  PolyUtil.decode('_p~iF~ps|U_ulLnnqC_mqNvxq`@');  \n\nconsole.log(response) /**\n  [ { lat: 38.5, lng: -120.2 },\n    { lat: 40.7, lng: -120.95 },\n    { lat: 43.252, lng: -126.453 }\n  ]\n\n  */\n\n```\nAvailable methods\n------------\n## PolyUtil class\n* [`containsLocation(point, polygon, geodesic = false)`](#containsLocation)\n* [`isLocationOnEdge(point, polygon, tolerance = PolyUtil.DEFAULT_TOLERANCE, geodesic = true)`](#isLocationOnEdge)\n* [`isLocationOnPath(point, polyline, tolerance = PolyUtil.DEFAULT_TOLERANCE, geodesic = true)`](#isLocationOnPath)\n* [`distanceToLine(p, start, end)`](#distanceToLine)\n* [`decode(encodedPath)`](#decode)\n* [`encode(path)`](#encode)\n\n## SphericalUtil class\n* [`computeHeading(from, to)`](#computeHeading)\n* [`computeOffset(from, distance, heading)`](#computeOffset)\n* [`computeOffsetOrigin(to, distance,  heading)`](#computeOffsetOrigin)\n* [`interpolate(from, to, fraction)`](#interpolate)\n* [`computeDistanceBetween( from, to)`](#computeDistanceBetween)\n* [`computeLength(path)`](#computeLength)\n* [`computeArea(path)`](#computeArea)\n* [`computeSignedArea(path)`](#computeSignedArea)\n\n\n---\n\n<a name=\"containsLocation\"></a>\n**`containsLocation( point, polygon, geodesic = false )`** - To find whether a given point falls within a polygon\n\n* `point` -  {'lat': 38.5, 'lng': -120.2}\n* `polygon` - [ {'lat': 38.5, 'lng': -120.2}, {'lat': 40.7, 'lng': -120.95 }, {'lat': 43.252, 'lng': -126.453} ]\n* `geodesic` - boolean\n\n\nReturns boolean\n\n```php\n\nconst response =  PolyUtil.containsLocation(\n              {'lat': 23.886, 'lng': -65.269}, // point object of {lat, lng}\n             [ // poligon arrays of object {lat, lng}\n                {'lat': 25.774, 'lng': -80.190},\n                {'lat': 18.466, 'lng': -66.118},\n                {'lat': 32.321, 'lng': -64.757}\n             ]);  \n\nconsole.log(response) // false\n\n```\n\n\n---\n\n\n<a name=\"isLocationOnEdge\"></a>\n**`isLocationOnEdge( point, polygon, tolerance = PolyUtil.DEFAULT_TOLERANCE, geodesic = true )`** - To determine whether a point falls on or near a polyline, or on or near the edge of a polygon, within a specified tolerance in meters.\n\n* `point` -  {'lat': 25.774, 'lng': -80.190}\n* `polygon` -  [{'lat': 38.5, 'lng': -120.2}, {'lat': 40.7, 'lng': -120.95}, {'lat': 43.252, 'lng': -126.453}]\n* `tolerance` -  tolerance value in degrees\n* `geodesic` - boolean\n\nReturns boolean\n\n```php\n\nconst response =  PolyUtil.isLocationOnEdge(\n              {'lat': 25.774, 'lng': -80.190}, // point object {lat, lng}\n              [ // poligon arrays of object {lat, lng}\n                {'lat': 25.774, 'lng': -80.190},\n                {'lat': 18.466, 'lng': -66.118},\n                {'lat': 32.321, 'lng': -64.757}\n              ])  ;\n\nconsole.log(response) // true\n\n```\n---\n\n<a name=\"isLocationOnPath\"></a>\n**`isLocationOnPath( point, polygon, tolerance = PolyUtil.DEFAULT_TOLERANCE, geodesic = true )`** - To determine whether a point falls on or near a polyline, within a specified tolerance in meters\n\n* `point` -  {'lat': 25.774, 'lng': -80.190}\n* `polygon` -  [{'lat': 38.5, 'lng': -120.2}, {'lat': 40.7, 'lng': -120.95}, {'lat': 43.252, 'lng': -126.453}]\n* `tolerance` -  tolerance value in degrees\n* `geodesic` - boolean\n\nReturns boolean\n\n```php\n\nresponse = PolyUtil.isLocationOnPath(\n              {'lat': 25.774, 'lng': -80.190}, // point object if {lat, lng}\n              [ // poligon arrays of object {lat, lng}\n                {'lat': 25.774, 'lng': -80.190},\n                {'lat': 18.466, 'lng': -66.118},\n                {'lat': 32.321, 'lng': -64.757}\n              ])  ;\n\nconsole.log(response) // true\n\n```\n---\n\n<a name=\"distanceToLine\"></a>\n**`distanceToLine( p, start, end )`** - To calculate distance from a point to line start->end on sphere.\n\n* `p` -  {'lat': 61.387002, 'lng': 23.890636}\n* `start` -  {'lat': 61.487002, 'lng': 23.790636}\n* `end` -  {'lat': 60.48047, 'lng': 22.052754}\n\nReturns distance from a point to line\n\n```php\n\nconst response = PolyUtil.distanceToLine(\n              {'lat': 61.387002, 'lng': 23.890636}, // point object {lat, lng}\n              {'lat': 61.487002, 'lng': 23.790636}, // line start point object {lat, lng}\n              {'lat': 60.48047, 'lng': 22.052754}// line endpoint object {lat, lng}\n             );  \n\nconsole.log(response) // 12325.124046196 in meters\n\n```\n---\n<a name=\"decode\"></a>\n\n**`decode( encodedPath )`** - Decodes an encoded path string into a sequence of LatLngs.\n\n* `encodedPath` - string '_p~iF~ps|U_ulLnnqC_mqNvxq`@'\n\nReturns array\n\n```php\n\nconst response = PolyUtil.decode('_p~iF~ps|U_ulLnnqC_mqNvxq`@');  \n\nconsole.log(response);\n/*\n  [ { lat: 38.5, lng: -120.2 },\n    { lat: 40.7, lng: -120.95 },\n    { lat: 43.252, lng: -126.453 }\n  ]\n\n*/\n\n```\n---\n\n\n<a name=\"encode\"></a>\n**`encode( path )`** - Encodes a sequence of LatLngs into an encoded path string.\n\n* `path` -  [ {'lat': 38.5, 'lng': -120.2}, {'lat': 40.7, 'lng': -120.95}, {'lat': 43.252, 'lng': -126.453} ]\n\nReturns string\n\n```php\n\nresponse =  PolyUtil.encode(\n              [\n                {'lat': 38.5, 'lng': -120.2},\n                {'lat': 40.7, 'lng': -120.95},\n                {'lat': 43.252, 'lng': -126.453}\n              ]);\n\nconsole.log(response); // '_p~iF~ps|U_ulLnnqC_mqNvxq`@'\n\n```\n---\n\n<a name=\"computeHeading\"></a>\n**`computeHeading( from, to )`** - Returns the heading from one LatLng to another LatLng.\n\n* `from` -  {'lat': 38.5, 'lng': -120.2}\n* `to` -  {'lat': 40.7, 'lng': -120.95}\n\nReturns int\n\n```php\n\nresponse =  SphericalUtil.computeHeading(\n              {'lat': 25.775, 'lng': -80.190},\n              {'lat': 21.774, 'lng': -80.190}));\n\nconsole.log(response); // -180\n\n```\n---\n\n<a name=\"computeOffset\"></a>\n**`computeOffset( from, distance, heading )`** - Returns the LatLng resulting from moving a distance from an origin in the specified heading.\n\n* `from` -  {'lat': 38.5, 'lng': -120.2}\n* `distance` - number, the distance to travel\n* `heading` - number, the heading in degrees clockwise from north\n\nReturns array\n\n```php\n\nresponse =  SphericalUtil.computeOffset({'lat': 25.775, 'lng': -80.190}, 152, 120);\n\nconsole.log(response);\n\n/*\n  {\n    'lat': 25.774316510639,\n    'lng': -80.188685385944\n  }\n*/\n\n```\n---\n\n<a name=\"computeOffsetOrigin\"></a>\n**`computeOffsetOrigin( from, distance, heading )`** - Returns the location of origin when provided with a LatLng destination, meters travelled and original heading. Headings are expressed in degrees clockwise from North.\n\n* `from` -  {'lat': 38.5, 'lng': -120.2}\n* `distance` - number, the distance to travel\n* `heading` - number, the heading in degrees clockwise from north\n\nReturns array\n\n```php\n\nresponse =  SphericalUtil.computeOffsetOrigin({'lat': 25.775, 'lng': -80.190}, 152, 120);\n\nconsole.log(response);\n/*\n  {\n    'lat': 14.33435503928,\n    'lng': -263248.24242931\n  }\n*/\n\n```\n---\n\n<a name=\"interpolate\"></a>\n**`interpolate( from, to, fraction )`** - Returns the LatLng which lies the given fraction of the way between the origin LatLng and the destination LatLng.\n\n* `from` -  {'lat': 38.5, 'lng': -120.2}\n* `to` -  {'lat': 38.5, 'lng': -120.2}\n* `fraction` - number, a fraction of the distance to travel\n\nReturns array\n\n```php\n\nresponse =  SphericalUtil.interpolate({'lat': 25.775, 'lng': -80.190}, {'lat':26.215, 'lng': -81.218}, 2);\n\nconsole.log(response);\n/*\n    {\n      'lat': 26.647635362403,\n      'lng': -82.253737943391\n    }\n*/\n\n```\n---\n\n<a name=\"computeDistanceBetween\"></a>\n**`computeDistanceBetween( from, to )`** - Returns the distance, in meters, between two LatLngs. You can optionally specify a custom radius. The radius defaults to the radius of the Earth.\n\n* `from` - {'lat': 38.5, 'lng': -120.2}\n* `to` - {'lat': 38.5, 'lng': -120.2}\n\nReturns float\n\n```php\n\nresponse =  SphericalUtil.computeDistanceBetween({'lat': 25.775, 'lng': -80.190}, {'lat': 26.215, 'lng': -81.218});\n\nconsole.log(response); //float 113797.92421349\n\n```\n---\n\n<a name=\"computeLength\"></a>\n**`computeLength( path )`** - Returns the length of the given path, in meters, on Earth.\n\n* `path` - [ {'lat': 38.5, 'lng': -120.2}, {'lat': 40.7, 'lng': -120.95}, {'lat': 43.252, 'lng': -126.453} ]\n\nReturns float\n\n```php\n\nconst response =  SphericalUtil.computeLength([\n                {'lat': 38.5, 'lng': -120.2},\n                {'lat': 40.7, 'lng': -120.95},\n                {'lat': 43.252, 'lng': -126.453}\n              ]);\n\nconsole.log(response); //float 788906.98459431\n\n```\n---\n\n<a name=\"computeArea\"></a>\n**`computeArea( path )`** - Returns the area of a closed path.\n\n* `path` - [ {'lat': 38.5, 'lng': -120.2}, {'lat': 40.7, 'lng': -120.95}, {'lat': 43.252, 'lng': -126.453} ]\n\nReturns float\n\n```php\n\nresponse =  SphericalUtil.computeArea([\n                {'lat': 38.5, 'lng': -120.2},\n                {'lat': 40.7, 'lng': -120.95},\n                {'lat': 43.252, 'lng': -126.453}\n              ]);\n\nconsole.log(response); //float 44766785529.143\n\n```\n---\n\n<a name=\"computeSignedArea\"></a>\n**`computeSignedArea( path )`** - Returns the signed area of a closed path.\n\n* `path` - [ {'lat': 38.5, 'lng': -120.2}, {'lat': 40.7, 'lng': -120.95}, {'lat': 43.252, 'lng': -126.453} ]\n\nReturns float\n\n```php\n\nresponse =  SphericalUtil.computeSignedArea([\n                {'lat': 38.5, 'lng': -120.2},\n                {'lat': 40.7, 'lng': -120.95},\n                {'lat': 43.252, 'lng': -126.453}\n              ]);\n\nconsole.log(response); //float 44766785529.143\n\n```\n---\n\nCredits\n-------\n[alexpechkarev](https://github.com/alexpechkarev/geometry-library)\n\n\nSupport\n-------\n\n[Please open an issue on GitHub](https://github.com/BunHouth/geometry-library/issues)\n\n\nLicense\n-------\n\nGeometry Library Google Maps API V3 is released under the MIT License. See the bundled\n[LICENSE](https://github.com/BunHouth/geometry-library./blob/master/LICENSE)\nfile for details.\n","readmeFilename":"README.md","keywords":["google","maps","googlemaps","geo","geocode","timezone","api","client","roads","directions","navigation","geometry","polyutil","sphericalutil"],"homepage":"https://github.com/BunHouth/geometry-library#readme","bugs":{"url":"https://github.com/BunHouth/geometry-library/issues"}}