{"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":{},"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```","publish_time":1400815578300,"_cnpm_publish_time":1400815578300,"dist-tags":{"latest":"1.0.0"}}