{"name":"@turf/boolean-clockwise","version":"6.4.0","keywords":["turf","clockwise","boolean"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-clockwise@6.4.0","contributors":[{"name":"Morgan Herlocker","email":"@morganherlocker"},{"name":"Rowan Winsemius","email":"@rowanwins"},{"name":"Denis Carriere","email":"@DenisCarriere"},{"name":"Stefano Borghi","email":"@stebogit"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"6d11d6dfe6c8c2727182368c87ad56593e8c201b","tarball":"http://registry-npm.ywwl.com/@turf/boolean-clockwise/download/@turf/boolean-clockwise-6.4.0.tgz","fileCount":7,"integrity":"sha512-zLft4OSQTwNWOmwy/9Ub4fIgrGtPjh2TAjU80yZUDBSFZIDU4FSfZaH5pVcXf2p1mQbg94j9wHS2PGSSfkZ/Kg==","signatures":[{"sig":"MEUCIQCncDlxOkhjGxfxem/UgJQ/zfulF6uE2cLt6HAYEmIpoQIgHwSpJeAt1r+tVMp6awcmQQRQb4GRIHcoAZk5Nxtr4qo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgy05+CRA9TVsSAnZWagAA3m0P/38IHMrzsHE2pZU8+3fS\ncQlqdqxmNqWDJp8cZkCPVI4mnTCTVAuN/EZrEPfGvb7eVsa5QGX+CLWzA7xr\nGYAmll2Xc3rklzS6jgOdD/A4PJTgggZw5FpHl+SkD+fTi9b8v1cVFrTXPwGW\nsRHFdNVJK+g12NqbtLij01QX8Vhe1FqhHksIpmNjvL+1SeA1jVaBNGUKZygd\nqWN3qzIYuHq4tUx+HkQq7vY9XISS14Lun0M8odYYD6H+zWVbKzHnXfcxdewN\nTvR7yMVV9+kiBSjHekzOoAvNEn3okoUpdaLYJkDXJKJo/r1w3LqMIrExt5iW\nIUilJyD6I8NPyWjqfTjhvZsBklidakdoRwWGOPn3bqKPUOewaOfrLSbRPLF5\nRvc7fzkMGaaFh0trS2Muo2LYdXmhjPexeF9QzlK/WJei8ThtUiOvqqRnboxh\n3VICJ2XtPqIC+830afCftHCqGN8vGDO7Mjl6U8BcU4s6DqsrY/ToVwdjUxWp\nLUVQr9Po3dS67oFXWUforCGE/Du3xjBBZ40vSY/VRtbiZ59sUJ7FPzmmpC+j\nIdmCJGoxad4bRer+bmvp0ptpDchjSFoCWOsiGVOspmvYMXHzse60JUn5h8iA\nnnTJuOw67Gu26AD66a3WzvdqsUcPZowByDMpQLAd69BlbO19UeHQ/y2jzV3u\nsZ0Y\r\n=V3wW\r\n-----END PGP SIGNATURE-----\r\n","size":2803,"noattachment":false,"key":"/@turf/boolean-clockwise/-/@turf/boolean-clockwise-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 boolean-clockwise module","directories":{},"sideEffects":false,"_nodeVersion":"14.14.0","dependencies":{"@turf/helpers":"^6.4.0","@turf/invariant":"^6.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"*","tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","load-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/boolean-clockwise_6.4.0_1623936637797_0.013711648363003537","host":"s3://npm-registry-packages"},"readme":"# @turf/boolean-clockwise\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## booleanClockwise\n\nTakes a ring and return true or false whether or not the ring is clockwise or counter-clockwise.\n\n### Parameters\n\n*   `line` **([Feature][1]<[LineString][2]> | [LineString][2] | [Array][3]<[Array][3]<[number][4]>>)** to be evaluated\n\n### Examples\n\n```javascript\nvar clockwiseRing = turf.lineString([[0,0],[1,1],[1,0],[0,0]]);\nvar counterClockwiseRing = turf.lineString([[0,0],[1,0],[1,1],[0,0]]);\n\nturf.booleanClockwise(clockwiseRing)\n//=true\nturf.booleanClockwise(counterClockwiseRing)\n//=false\n```\n\nReturns **[boolean][5]** true/false\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1.4\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\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/boolean-clockwise\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":1623936637923,"maintainers":[{"name":"smallsaucepan","email":"james@smallsaucepan.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"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":"mdfedderly","email":"mdfedderly@mdfedderly.com"}],"_cnpm_publish_time":1623936637923,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}