{"name":"@turf/rhumb-bearing","version":"6.5.0","keywords":["turf","bearing","loxodrome","rhumb","rhumb line"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/rhumb-bearing@6.5.0","maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"}],"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":"8c41ad62b44fb4e57c14fe790488056684eee7b9","tarball":"http://registry-npm.ywwl.com/@turf/rhumb-bearing/download/@turf/rhumb-bearing-6.5.0.tgz","fileCount":7,"integrity":"sha512-jMyqiMRK4hzREjQmnLXmkJ+VTNTx1ii8vuqRwJPcTlKbNWfjDz/5JqJlb5NaFDcdMpftWovkW5GevfnuzHnOYA==","signatures":[{"sig":"MEUCIQDoXBwuj2dfQvOSaHT80IULYgZYq7Xd4vaq5ak1bTqUnQIgcTv25saMKkAw2XAhX666bSE0d5Tl8OaNoPfcpaUCAWw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2fKpCRA9TVsSAnZWagAActMP/06YCJrNnGxhGNElkRBu\nbW8yXTosiBzZjZR75nWGOeGBZhpSzLxPyJ6OMxFxq7uAynYm7uh2M/LuGAV3\ncERyt7qG9zkz975ERhnpcPs+7GMF11Qz4z3Uvl4DFt0KuQJggG7jTlecMZS5\nF+IETrhvFk3aNmLM3kzYv/mvtzUMYjgv3q4ztI5sHu/B46fWkGBP0Wjuq+T5\nNzwdK6dV3UdSv869Qw7n+ZCyBzcOP6r/vrBp5ACCGm6XQVV3f7OPJgaswVyk\nscFsuHtqskWOhUk/0UVCyXdBSKVCatJe0yvP6wfsj5gF7CyqCS8MJj9pqZ6Z\npx7vRmpYwGymSwR3MwF5KMXfm9eiufd2uRhSvhXahGmrGrh+yoernKJZwP0u\nM1Fz8Q89EXCz5lLSv2Jkc6u6NjnZWJr5famLBnzIBNBsYZ+OYwAuXsHszCAs\n1qnJxIN1htbhwEZPh3u44yzgFB8PaXY3HnAhgxlaSEG2pBSLMZ25LfgLVh7w\nF/2Iy7rA7e/YKP29MuYeaAWAqX+Jv8Jc7RU7EJTyEg67N9ezlC9xOp761cHr\nNiePsRA5MQ3Sq6eaMsiZeA7Q+KuEuMZuSq0PHSdAPtt9M/A3tCmlrn1pv1AC\n0hWMCNnyDXkPpnexoWku+HocMXOEM3ThUncOQSHRSYtFKZXBdftXYWHL6OmD\nKpXN\r\n=DWgk\r\n-----END PGP SIGNATURE-----\r\n","size":3584,"noattachment":false,"key":"/@turf/rhumb-bearing/-/@turf/rhumb-bearing-6.5.0.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","exports":{".":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"5375941072b90d489389db22b43bfe809d5e451e","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all test:*","bench":"ts-node bench.js","build":"npm-run-all build:*","build:es":"tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json","build:js":"tsc","test:tape":"ts-node -r esm test.js"},"_npmUser":{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.8.0+x64 (darwin)","description":"turf rhumb-bearing module","directories":{},"sideEffects":false,"_nodeVersion":"14.8.0","dependencies":{"@turf/helpers":"^6.5.0","@turf/invariant":"^6.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","write-json-file":"*","@turf/destination":"^6.5.0"},"_npmOperationalInternal":{"tmp":"tmp/rhumb-bearing_6.5.0_1625912251193_0.03667597722009819","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":1625912251302,"_cnpm_publish_time":1625912251302,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}