{"name":"@turf/rhumb-bearing","version":"6.2.0-alpha.0","keywords":["turf","bearing","loxodrome","rhumb","rhumb line"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/rhumb-bearing@6.2.0-alpha.0","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":"d4616d570c99e8dda2f5b6f92ed044478e69fc25","tarball":"http://registry-npm.ywwl.com/@turf/rhumb-bearing/download/@turf/rhumb-bearing-6.2.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-xnLJgr8Ewg5k8+oXAfKMtn4WIsZ5Oy73iYg+IlCxHbJecqmY7Lu4JGGkoPnZEoSmuvj5ILq/mMmK+BBnYWrm3w==","signatures":[{"sig":"MEUCIEg8BfKtKoUCkwUdH87HjqD9Pb5pPc/v3QlDHKDqF5maAiEAou3NdmRtD+FcNxhANcgyQ/Qs+Ae0YFPrmEtK68EJY+8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefS4nCRA9TVsSAnZWagAAYGcQAJDjS0JBIMHpoD1FEeSe\np+x4dsa5LhnDfem5KY4wm/ne2Ue35UTsCGOmAMGtuZkMfMHhHc0+43xL7HQP\nk+nNONz4e7uFyfypEbXVjEHvPaeusIVgKtYAjBKbEvTokfM33XDYhtnQjVix\n2dL/nXZU0h+K6NQAH20JNr5q+TDLlWIR6bEb060DVqvaW9dvCnC7iyu+iak3\nDloGBk3uVjvJqf+4O3jOyMVVwzTKQsw7C3jmhGuO50KBcvjTEsl/SL8i77Yk\n/j1CmYYohmcoL7uDzuzmVUHqWqgZoetUeqIQ4LAxiJWTgKUoTAntchNBSMaq\nkK+mrzX288z7Pvbgj99TPRTUdKR6oxZXWM2Tznroz4g/DX9083cUi/KQuKp8\norRt5yCb9OODg8bNYbW6/saqtlHJPLouKeE8IalyBZBfbTRYyTfAWXPoH6Bu\n3yK80ClcFJUP1SGU4xucPs93KSTx7dH3J17PpBN9H81jF91w/Ft2QYBbIjHc\nepRRi9wuxQlFdqJQj0zcGVGAAukc3APnTzN2gQlUUJiGFoGaeTPJ8b1mKuWP\noVNPMKaIuVbFD+y30jk7XG9XEowK/lH2+ZBkFQXlzHLFaAt/gHQXJQqY/cqG\ndwTpZHiI3fvO+RazHY3ERcPWi030y+SUUQa68fXqBc/IXbDrfDEWNXJ5VmYY\n9MF3\r\n=O5NL\r\n-----END PGP SIGNATURE-----\r\n","size":3437,"noattachment":false,"key":"/@turf/rhumb-bearing/-/@turf/rhumb-bearing-6.2.0-alpha.0.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","gitHead":"23b651deaa1ca6a0960d0142aea620b7cc6a076d","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.0","@turf/invariant":"^6.2.0-alpha.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","tslint":"*","benchmark":"*","typescript":"*","@types/tape":"*","write-json-file":"*","@turf/destination":"^6.2.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/rhumb-bearing_6.2.0-alpha.0_1585262119370_0.7623098198295823","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":1585262119550,"_cnpm_publish_time":1585262119550,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}