{"_id":"turf-is-clockwise","_rev":"294498","name":"turf-is-clockwise","description":"turf isClockwise module","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}],"time":{"modified":"2024-06-17T04:42:29.000Z","created":"2014-05-23T03:26:18.300Z","1.0.0":"2014-12-11T17:05:04.237Z","0.1.2":"2014-07-22T22:54:29.954Z","0.0.2":"2014-06-02T03:56:27.018Z","0.0.1":"2014-05-23T03:26:18.300Z"},"users":{},"author":{"name":"morganherlocker"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-isClockwise.git"},"versions":{"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":"http://registry-npm.ywwl.com/turf-is-clockwise/download/turf-is-clockwise-1.0.0.tgz","integrity":"sha512-far3SJBCj4y3XbrX0rBM4LPMGMFZQRPuC4Y5DuSrBvFWLGPNG1/h+hodiLdwcUXxoqtUNDoVF97Bh07xhqRBMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIYflmLsYmKC15mswdLiRw8eo7Xcxyg7t0bDtizetInAIgI4do8B07yLRXPYCnMUODhH8g4SeYwy70lNLaj8sV+jM="}],"size":2317,"noattachment":false,"key":"/turf-is-clockwise/-/turf-is-clockwise-1.0.0.tgz"},"directories":{},"publish_time":1418317504237,"_cnpm_publish_time":1418317504237},"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":"http://registry-npm.ywwl.com/turf-is-clockwise/download/turf-is-clockwise-0.1.2.tgz","integrity":"sha512-jkZlcpT7vwBqeIE5CS6sH4BOs+6Fh4Iss09F206vxAKNeofFOUT2bAwTBrNDJj/yLZTj9JTdsGWbFwQ3hX6LnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeWgMIL4/doyzXGmD/wEL6WE2fdp4YIcgFMLY5wdUCnQIgVu3+tFALA3SVTzIcYAUNeoM/wsCHjKnLtb5AIISTkCQ="}],"size":2130,"noattachment":false,"key":"/turf-is-clockwise/-/turf-is-clockwise-0.1.2.tgz"},"directories":{},"publish_time":1406069669954,"_cnpm_publish_time":1406069669954},"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":"http://registry-npm.ywwl.com/turf-is-clockwise/download/turf-is-clockwise-0.0.2.tgz","integrity":"sha512-/g9hS6fFJ+JpX9DcbEUeLOVgT3wb4OerVMS3ZwIvewJfXQhlmfsX50IRxYZZwY3Zo//8CZeDJ14qYZG8of8lAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGWnjYRvpzJo/C4mpfwdZISla/Pf3+jDIwivyVHv2YHQIhAIDvVq5ziJHbmcJo35gzTdo3tgYRFsS6kJOZ5NiHn/rz"}],"size":2068,"noattachment":false,"key":"/turf-is-clockwise/-/turf-is-clockwise-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}],"directories":{},"publish_time":1401681387018,"_cnpm_publish_time":1401681387018},"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":"http://registry-npm.ywwl.com/turf-is-clockwise/download/turf-is-clockwise-0.0.1.tgz","integrity":"sha512-VZWO9RNL/IlqaRINb3A+DdBpvZre8j04V/U/ylw2J8/D757ZqJCF+ZEuyDe2CtwlzhWekjc++XOuva5I65fcIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQJoReyAGumNAQClg24DYggK9M1LYNuFGry52wQBE4EAIgL1IAHni7m6qkpUFVnIhHxlvluEOigQT2FRPAYGGPCZI="}],"size":1791,"noattachment":false,"key":"/turf-is-clockwise/-/turf-is-clockwise-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}],"directories":{},"publish_time":1400815578300,"_cnpm_publish_time":1400815578300}},"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```","_attachments":{},"homepage":"https://github.com/morganherlocker/turf-isClockwise","bugs":{"url":"https://github.com/morganherlocker/turf-isClockwise/issues"},"license":"MIT"}