{"name":"@turf/angle","version":"6.2.0-alpha.1","keywords":["turf","angle"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/angle@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":"Denis","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"275287f06ffc56d8d73ea5f9e74376fc21e2b5e4","tarball":"http://registry-npm.ywwl.com/@turf/angle/download/@turf/angle-6.2.0-alpha.1.tgz","fileCount":6,"integrity":"sha512-C4pXLRNoMQFhframUuSWaEngyU2Eivjlfo8Wt4Plxv/WL/XUoc5mXCsAgAZHL3PWSgWw3aJRBvCzbiEEYYhj+g==","signatures":[{"sig":"MEUCIGfygMYyzHlf6U2ZC7HWoLuAiieU/CqvKuQ/pOnZbfwPAiEA2v7dM/zdspyqtgV3dh6pQ4g8CurZpqDXMdSqY75WfxM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefUKJCRA9TVsSAnZWagAA5kgQAIjVHtRq5fvqV7BR41hZ\n4Mm3nIuLSSzWZF5i5MKg7L1Fkr2kSCIxdNJ5Uxx0+OILaZJnyirhPmNp1Elq\ngYWFvtO2uvkEEMbJedUK3DqwgtkwxX5u64LS3OidQ4RUQTXAydrdUXg+mXQ7\n0//qqc78SeuI1lHEqCOWB8XqpJyd6VvhunTxEvXtmntMS3kfJwv1RayulDlf\n+eC6SepZejdwPMBatubvH0LN2ahbIYb7buVxrjLKu0BtNvnMk+mR/D8F1fhI\nsxG1Uro3x8X2vcVKu5SMdwvZ9hAZGAtY8cQeM3j1mCL+C1Hsivqfz5X4H9UP\nXe1QiqOW/3sIPliIehbrpvCyhJ4UF2zl/NUx8Fpj4o6R6Loxwlahua3KpIZB\nceu63FXXqWHnFUbAUuPb8ihuu1jI83S65XwrcEWxApRCntGLWEsdXrGNt5Et\nbbM/7fUFEnc9maxi6bw4CiagFU0lkaQriy3FsRW3KkpETuba3PjEZtFvuQOs\nDcvivyxXWkVuUKmzbYFoGGSbLoujm8vqBfCShEUypkzplB19BhfgaBvCR62+\nayO3yQXZYatUlvLvwc9VVByoZNXt6VSFQUzK6ZHpHZjOV62MtFluizhlT1yH\nB3OcfLldY3j5hl/bWs4nwYPo/eL6nHIGROb7OejQ+oeyQ8CMpBW256THfOC6\nlh8J\r\n=i65V\r\n-----END PGP SIGNATURE-----\r\n","size":3163,"noattachment":false,"key":"/@turf/angle/-/@turf/angle-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 angle module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/bearing":"^6.2.0-alpha.1","@turf/helpers":"^6.2.0-alpha.1","@turf/invariant":"^6.2.0-alpha.1","@turf/rhumb-bearing":"^6.2.0-alpha.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"*","tape":"*","tslint":"*","benchmark":"*","typescript":"*","@types/tape":"*","@turf/sector":"^6.2.0-alpha.1","@turf/distance":"^6.2.0-alpha.1","@turf/truncate":"^6.2.0-alpha.1","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/angle_6.2.0-alpha.1_1585267337237_0.8721158181314317","host":"s3://npm-registry-packages"},"readme":"# @turf/angle\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## angle\n\nFinds the angle formed by two adjacent segments defined by 3 points. The result will be the (positive clockwise)\nangle with origin on the `startPoint-midPoint` segment, or its explementary angle if required.\n\n### Parameters\n\n*   `startPoint` **[Coord][1]** Start Point Coordinates\n*   `midPoint` **[Coord][1]** Mid Point Coordinates\n*   `endPoint` **[Coord][1]** End Point Coordinates\n*   `options` **[Object][2]** Optional parameters (optional, default `{}`)\n\n    *   `options.explementary` **[boolean][3]** Returns the explementary angle instead (360 - angle) (optional, default `false`)\n    *   `options.mercator` **[boolean][3]** if calculations should be performed over Mercator or WGS84 projection (optional, default `false`)\n\n### Examples\n\n```javascript\nturf.angle([5, 5], [5, 6], [3, 4]);\n//=45\n```\n\nReturns **[number][4]** Angle between the provided points, or its explementary.\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1.1\n\n[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n\n[4]: 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/angle\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\n\n### Diagrams\n\n![turf-angle](diagrams/turf-angle.png)","publish_time":1585267337394,"_cnpm_publish_time":1585267337394,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}