{"name":"@turf/angle","version":"6.4.0","keywords":["turf","angle"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/angle@6.4.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":"Denis","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"9df3acf5679294ab8a1a08a53364d7dbba9ae739","tarball":"http://registry-npm.ywwl.com/@turf/angle/download/@turf/angle-6.4.0.tgz","fileCount":7,"integrity":"sha512-46kp713glzAOc5Dybnz0TyDiZ3ZDM0h7l15TzKat+M25/4qULS4MS/P/XkcxAxBfqcqEnIheLljrM42ZUS44Zw==","signatures":[{"sig":"MEYCIQCAJCEZotTNAK+QH4Wou4liyMNKRAfvd5bqvarq9zXgdQIhALQGW9muwHlIAPOCALLT7DbqnHhr6JhZGALc4RJv0WUz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgy1EQCRA9TVsSAnZWagAAX7IP/iyAweqX505ks/G6LiSZ\nN3eW+zdthBaY9V6ICqk4W9r2U6DG9VtAS9wuFf6k5bI6VE9kSsBsqmzLUZ23\nzmhD2YsRoY9rLu3LiRhOym62mccLMyHn13fzNMV1t29ZxSzFlKL2FJAlLIwz\nSpKk7smzSMYpVgmg5mfo/i7MZ6X+GsFaG/VIk20OUFxOFVY5fQuXK02FpAaP\ngvghCjYW6N0t616nr5pJFOR0pPIYidEbPd7n0zpObk4CWypw0Xp0rrpkA170\njY5uZieuvSAUUSGPPRH3cMNTTX8RCbbCW8bxSiwDAIS2sWzBvVSUS4cjgE4q\nK0tWrGIwv5sPKZ8wGv25V63eNYpDkI+UntixciAemqkRN1zSM5RqbU0Ua567\nMkbB1IvfOU0nZXvX928jzDehR/CCx1DjCVirK9YJJIroiB0egsDqd0lgX9O1\nrd6SLWxFHA6q2+Bg/HlVWqdsRvq0oZfj5uy9hYFi+ijA/j0ZAmMPdfK0G1Nr\ndABvNphDyzNz4KY7camJakr/YcQnLAuqoD+FpQliaSWoysdh/zZ69Zy8xhLu\n+LZ2TU6wFSHFRAhc2kwE785q2lX0HzuSeXxlyS2AbwfbDf6ttqtFwQ1MY4fA\nY9eATmTCOdmtztf2zoemX7LCOWdz9Iixw/BdYoaJRFtxE6D5ImjrzyKFJwGe\nZev2\r\n=jL1f\r\n-----END PGP SIGNATURE-----\r\n","size":3269,"noattachment":false,"key":"/@turf/angle/-/@turf/angle-6.4.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"},"gitHead":"1e62773cfc88c627cca8effcb5c14cfb65a905ac","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/3.20.2/node@v14.14.0+x64 (darwin)","description":"turf angle module","directories":{},"sideEffects":false,"_nodeVersion":"14.14.0","dependencies":{"@turf/bearing":"^6.4.0","@turf/helpers":"^6.4.0","@turf/invariant":"^6.4.0","@turf/rhumb-bearing":"^6.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"*","tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","@turf/sector":"^6.4.0","@turf/distance":"^6.4.0","@turf/truncate":"^6.4.0","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/angle_6.4.0_1623937296281_0.5152515076110227","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":1623937296463,"_cnpm_publish_time":1623937296463,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}