{"_id":"turf-is-clockwise","_rev":"20-39e47770fbd4ccbc4913e2e36e350f04","name":"turf-is-clockwise","description":"turf isClockwise module","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"turf-is-clockwise","version":"0.0.1","description":"turf isClockwise module","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-isClockwise.git"},"keywords":["clockwise","turf","geojson","coordinates","gis","geo"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-isClockwise/issues"},"homepage":"https://github.com/morganherlocker/turf-isClockwise","devDependencies":{"tape":"^2.13.1"},"_id":"turf-is-clockwise@0.0.1","dist":{"shasum":"cc323a75857bc4dc9f3f01f15be1723403e153f6","tarball":"https://registry.npmjs.org/turf-is-clockwise/-/turf-is-clockwise-0.0.1.tgz","integrity":"sha512-VZWO9RNL/IlqaRINb3A+DdBpvZre8j04V/U/ylw2J8/D757ZqJCF+ZEuyDe2CtwlzhWekjc++XOuva5I65fcIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQJoReyAGumNAQClg24DYggK9M1LYNuFGry52wQBE4EAIgL1IAHni7m6qkpUFVnIhHxlvluEOigQT2FRPAYGGPCZI="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}]},"0.0.2":{"name":"turf-is-clockwise","version":"0.0.2","description":"turf isClockwise module","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-isClockwise.git"},"keywords":["clockwise","turf","geojson","coordinates","gis","geo"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-isClockwise/issues"},"homepage":"https://github.com/morganherlocker/turf-isClockwise","devDependencies":{"tape":"^2.13.1"},"_id":"turf-is-clockwise@0.0.2","dist":{"shasum":"adad698089df64913ff717e35c7170fc786398df","tarball":"https://registry.npmjs.org/turf-is-clockwise/-/turf-is-clockwise-0.0.2.tgz","integrity":"sha512-/g9hS6fFJ+JpX9DcbEUeLOVgT3wb4OerVMS3ZwIvewJfXQhlmfsX50IRxYZZwY3Zo//8CZeDJ14qYZG8of8lAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGWnjYRvpzJo/C4mpfwdZISla/Pf3+jDIwivyVHv2YHQIhAIDvVq5ziJHbmcJo35gzTdo3tgYRFsS6kJOZ5NiHn/rz"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}]},"0.1.2":{"name":"turf-is-clockwise","version":"0.1.2","description":"turf isClockwise module","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-isClockwise.git"},"keywords":["clockwise","turf","geojson","coordinates","gis","geo"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-isClockwise/issues"},"homepage":"https://github.com/morganherlocker/turf-isClockwise","devDependencies":{"tape":"^2.13.4"},"gitHead":"832254eee18c9bc046d98f4e192c44d80958a591","_id":"turf-is-clockwise@0.1.2","_shasum":"442ef335a9447db013df9b120e8ba208903891fd","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}],"dist":{"shasum":"442ef335a9447db013df9b120e8ba208903891fd","tarball":"https://registry.npmjs.org/turf-is-clockwise/-/turf-is-clockwise-0.1.2.tgz","integrity":"sha512-jkZlcpT7vwBqeIE5CS6sH4BOs+6Fh4Iss09F206vxAKNeofFOUT2bAwTBrNDJj/yLZTj9JTdsGWbFwQ3hX6LnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeWgMIL4/doyzXGmD/wEL6WE2fdp4YIcgFMLY5wdUCnQIgVu3+tFALA3SVTzIcYAUNeoM/wsCHjKnLtb5AIISTkCQ="}]}},"1.0.0":{"name":"turf-is-clockwise","version":"1.0.0","description":"turf isClockwise module","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-isClockwise.git"},"keywords":["clockwise","turf","geojson","coordinates","gis","geo"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-isClockwise/issues"},"homepage":"https://github.com/morganherlocker/turf-isClockwise","devDependencies":{"benchmark":"^1.0.0","tape":"^2.13.4"},"gitHead":"cabc538d103edeba2e6dcb49e0c6428a43754bd1","_id":"turf-is-clockwise@1.0.0","_shasum":"dc22e5ffd4cf10934683aa004627cff87a6dfe91","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}],"dist":{"shasum":"dc22e5ffd4cf10934683aa004627cff87a6dfe91","tarball":"https://registry.npmjs.org/turf-is-clockwise/-/turf-is-clockwise-1.0.0.tgz","integrity":"sha512-far3SJBCj4y3XbrX0rBM4LPMGMFZQRPuC4Y5DuSrBvFWLGPNG1/h+hodiLdwcUXxoqtUNDoVF97Bh07xhqRBMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIYflmLsYmKC15mswdLiRw8eo7Xcxyg7t0bDtizetInAIgI4do8B07yLRXPYCnMUODhH8g4SeYwy70lNLaj8sV+jM="}]}}},"readme":"turf-isClockwise\n================\n[![Build Status](https://travis-ci.org/Turfjs/turf-isClockwise.svg?branch=master)](https://travis-ci.org/Turfjs/turf-isClockwise)\n\nTakes a ring and return true or false whether or not the ring is clockwise or counter-clockwise.\n\n###Install\n\n```sh\nnpm install turf-is-clockwise\n```\n\n###Parameters\n\n|name|description|\n|---|---|\n|ring|an array of coordinates|\n\n###Usage\n\n```js\nisClockwise(ring)\n```\n\n###Example\n\n```js\nvar isClockwise = require('turf-is-clockwise')\n\nvar clockwiseRing = [[0,0],[1,1],[1,0],[0,0]]\nvar counterClockwiseRing = [[0,0],[1,0],[1,1],[0,0]]\n\nvar isCW = isClockwise(clockwiseRing)\nvar counterCW = isClockwise(counterClockwiseRing)\n\nconsole.log(isCW) // true\nconsole.log(counterCW) // false\n```","maintainers":[{"email":"tim.channell@gmail.com","name":"tcql"},{"email":"agafonkin@gmail.com","name":"mourner"},{"email":"jv.rousseau@outlook.com","name":"jvrousseau"},{"email":"james.seppi@gmail.com","name":"jseppi"},{"email":"cspanring@gmail.com","name":"cspanring"},{"email":"calvin.metcalf@gmail.com","name":"cwmma"},{"email":"lyzi@mapbox.com","name":"lyzidiamond"},{"email":"tom@macwright.org","name":"tmcw"},{"email":"morgan.herlocker@gmail.com","name":"morganherlocker"}],"time":{"modified":"2022-06-27T23:29:16.332Z","created":"2014-05-23T03:26:18.300Z","0.0.1":"2014-05-23T03:26:18.300Z","0.0.2":"2014-06-02T03:56:27.018Z","0.1.2":"2014-07-22T22:54:29.954Z","1.0.0":"2014-12-11T17:05:04.237Z"},"homepage":"https://github.com/morganherlocker/turf-isClockwise","keywords":["clockwise","turf","geojson","coordinates","gis","geo"],"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-isClockwise.git"},"author":{"name":"morganherlocker"},"bugs":{"url":"https://github.com/morganherlocker/turf-isClockwise/issues"},"license":"MIT","readmeFilename":"README.md"}