{"name":"@turf/rhumb-bearing","version":"6.2.0-alpha.1","keywords":["turf","bearing","loxodrome","rhumb","rhumb line"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/rhumb-bearing@6.2.0-alpha.1","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom@macwright.org"}],"contributors":[{"name":"Chris Veness","email":"@chrisveness"},{"name":"Stefano Borghi","email":"@stebogit"},{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"40e2faf0723d0e90f6f28b30fe6dd2929adb6a8d","tarball":"http://registry-npm.ywwl.com/@turf/rhumb-bearing/download/@turf/rhumb-bearing-6.2.0-alpha.1.tgz","fileCount":6,"integrity":"sha512-iG8tZfZ0Jfxf++KEizIqu2IuLmtmmY9NTF2mZH9jg1UFgAqKhpvNjsDiaO5Tt9u7pWcUkLrpjt4cNo9LVvuTLQ==","signatures":[{"sig":"MEQCIE+QJDLtDg6eODOtCYPOa0s0y/C+t50lnDNffFwKalteAiAw+zaN3f3tXyOxAGSECi+6eIyHEaUbGPeCG881lAzbgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefUJnCRA9TVsSAnZWagAA6xAP/3Pz/nztIFTiwt3TjHc+\ndxp/nNZRNwmQkFgGFpxFn2I/VHB6xmqLauA1Wx3NOBVMxMnpu7Z8vyjwOvur\nxJ6Mzu0M1axSeuJ7U55Ww2KhqZwKNF780vQJb7O/h/Stlt+wf2u+zkIE1m+b\nSNVGYOjkwD8kXijNPYhgfg7driM8NMLfwvBsaHej6j27qgrnyLdrjD/M7XbP\nIfWTWLcwKZ2pKvZbDjJD9geI26zRmtZvntASP4V4z+eMlJ+UPICqDJwzXl7T\nHqSN1ZPy7MovmpnH/TvKk+YZeNid3OnWQuWVIbZdXBpzNo5mmlIvYLNdSLh0\nwr6GABRI5wBt00Rv75WwI1tg4+4S9z8q0Gzn2BQSY2lahyacy7lsNDMkbaMS\n/dSnivJ5XWbTSf2U1iYF4+He4xshw+GwTo7Yj+aF+yctm7QI2Kn40dS7L6nB\npxWgnuI2fAidYZJ55GenASye/CP2IzwLhISb0L5OLSdA6BkIQX941ZAfz94+\nRih3+LVJ35fitvD3SX5NU0NA2mfY+RP1h6JicXF91Hg1VHRwOY3W0gOqov0c\nRYamWBNw8gvlV4O0wqHOZT4MWDsx9Im+zgzKu526BLAv0VYz/OZoiK5SHMUP\nFMp3vCorAS2oMiMxNpPs4uHxfOuj36HpsvnulqfvJVMUX1JiCYtapINsZ1HW\ntPAJ\r\n=u0QN\r\n-----END PGP SIGNATURE-----\r\n","size":3458,"noattachment":false,"key":"/@turf/rhumb-bearing/-/@turf/rhumb-bearing-6.2.0-alpha.1.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","gitHead":"fc519c045a8931c1e14eab9160a7e28391f8da02","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all prepare test:*","bench":"npm-run-all prepare bench:run","prepare":"npm-run-all prepare:*","bench:run":"node bench.js","test:tape":"node -r esm test.js","prepare:es":"tsc --outDir dist/es --module esnext --declaration false","prepare:js":"tsc"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v13.10.1+x64 (darwin)","description":"turf rhumb-bearing module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/helpers":"^6.2.0-alpha.1","@turf/invariant":"^6.2.0-alpha.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","tslint":"*","benchmark":"*","typescript":"*","@types/tape":"*","write-json-file":"*","@turf/destination":"^6.2.0-alpha.1"},"_npmOperationalInternal":{"tmp":"tmp/rhumb-bearing_6.2.0-alpha.1_1585267302668_0.6401105104232037","host":"s3://npm-registry-packages"},"readme":"# @turf/rhumb-bearing\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## rhumbBearing\n\nTakes two [points][1] and finds the bearing angle between them along a Rhumb line\ni.e. the angle measured in degrees start the north line (0 degrees)\n\n### Parameters\n\n*   `start` **[Coord][2]** starting Point\n*   `end` **[Coord][2]** ending Point\n*   `options` **[Object][3]?** Optional parameters\n\n    *   `options.final` **[boolean][4]** calculates the final bearing if true (optional, default `false`)\n\n### Examples\n\n```javascript\nvar point1 = turf.point([-75.343, 39.984], {\"marker-color\": \"#F00\"});\nvar point2 = turf.point([-75.534, 39.123], {\"marker-color\": \"#00F\"});\n\nvar bearing = turf.rhumbBearing(point1, point2);\n\n//addToMap\nvar addToMap = [point1, point2];\npoint1.properties.bearing = bearing;\npoint2.properties.bearing = bearing;\n```\n\nReturns **[number][5]** bearing from north in decimal degrees, between -180 and 180 degrees (positive clockwise)\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1.2\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1.1\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/rhumb-bearing\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n","publish_time":1585267302822,"_cnpm_publish_time":1585267302822,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}