{"name":"@turf/rhumb-bearing","version":"6.2.0-alpha.2","keywords":["turf","bearing","loxodrome","rhumb","rhumb line"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/rhumb-bearing@6.2.0-alpha.2","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":"98ef1fd56e31c2b7c210cacadc236d7efdf7e73f","tarball":"http://registry-npm.ywwl.com/@turf/rhumb-bearing/download/@turf/rhumb-bearing-6.2.0-alpha.2.tgz","fileCount":6,"integrity":"sha512-dvr2n7cQ4Q5150YbaG2GzgF2b+G/ZI9nLaNxUo9R5eXnRa3icyg2lyjn6AbnVWEPdvwgG/lX+7SHec7tA+739Q==","signatures":[{"sig":"MEQCIHvwxs94p4PiqkZGXQa0F+se9w1rMnfyFQv+Jn65wMm8AiAv0Vav227rrTR+0gOCsZ32J8MBVHH6xzTCb718OQx6AQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDHJUCRA9TVsSAnZWagAAWscP/2FSiVIuWRIf+K5B2oRs\nGHoGT2nPkBBgFe9JvbNpT22/6W7DdL3mGKwWMT/feJf9mVKOKjQJkOwvXlQf\noXxdxharfe7FmRlEuSbUz4iskHxL4XNz8MagZlof4myWzzuRrqS6d9zXqZxh\n7bbsMaUlvqsNhBKxTSrMUTb/cH/3MZHCF4AyjuspMEXRAiwQ1hyT7h+/HTzl\nCtjdmEZs8h1ZYEWdmCbDOPY5PBtjm498XJ6XA8QeicDk3KoYCHOVI0oY5qT2\njzXNPztxPrs4I0BrJAHBPY1WA/vWDI1qqIE0BUYgGD8as6QA0JsefLwXSA+V\n2afqGiL9uCNY6USL2cYe9yytXl8KHS65upaB5T22eeSwjA8EjZh1O1BW29kn\nDoUfnoR0ZPeIjLIPpEKjXbvYKMw2nhSm9BgODmUoN8MkZzyVwWRyrKcFmHEt\n8JHpj8dfg5v42hCAiORVZ4mmHEqXTT81dgu9Gv3ynJx4f33fO7vurBW8P5df\nXQCE7GF5utZzqRyTdw+CXHgH+pM20yAAWRGLpgC9oL3X/X1VUhIlZLAMjo3r\nqwtm9AVksw0YQszE4prgmhh+dmEs5WoypYo0/32lNA1+DGXyeI8Vc4HPMBfM\ntroKPW3NWttNM2dlla1UdcrrOKCBWkO0hrnGSbJuMFtz371IPR+Kzl4LmYI6\nF+xK\r\n=+J6v\r\n-----END PGP SIGNATURE-----\r\n","size":3467,"noattachment":false,"key":"/@turf/rhumb-bearing/-/@turf/rhumb-bearing-6.2.0-alpha.2.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","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    -   `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:\nif you find an error, edit the source file (likely index.js), and re-run\n./scripts/generate-readmes in the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](http://turfjs.org/), an open source\nmodule collection dedicated to geographic algorithms. It is maintained in the\n[Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create\nPRs and issues.\n\n### Installation\n\nInstall this module individually:\n\n```sh\n$ npm install @turf/rhumb-bearing\n```\n\nOr install the Turf module that includes it as a function:\n\n```sh\n$ npm install @turf/turf\n```\n","gitHead":"23d5cb91d77e0c1e2e903a2252f525797f1d0d09","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.2","@turf/invariant":"^6.2.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","tslint":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","write-json-file":"*","@turf/destination":"^6.2.0-alpha.2"},"_npmOperationalInternal":{"tmp":"tmp/rhumb-bearing_6.2.0-alpha.2_1594651213704_0.2862563681686505","host":"s3://npm-registry-packages"},"publish_time":1594651213822,"_cnpm_publish_time":1594651213822,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}