{"name":"turf-bearing","version":"3.0.7-canary.ae89c8b3","description":"turf bearing module","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git+https://github.com/Turfjs/turf-bearing.git"},"keywords":["turf","bearing"],"author":{"name":"jvrousseau"},"license":"MIT","bugs":{"url":"https://github.com/Turfjs/turf-bearing/issues"},"homepage":"https://github.com/Turfjs/turf-bearing","dependencies":{"turf-invariant":"^3.0.7-canary.ae89c8b3"},"devDependencies":{"benchmark":"^1.0.0","tape":"^3.5.0"},"_id":"turf-bearing@3.0.7-canary.ae89c8b3","_shasum":"e9da9e1ebf89016d8002756db31862f11bbf050e","_from":".","_npmVersion":"3.9.2","_nodeVersion":"5.11.0","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"e9da9e1ebf89016d8002756db31862f11bbf050e","tarball":"http://registry-npm.ywwl.com/turf-bearing/download/turf-bearing-3.0.7-canary.ae89c8b3.tgz","integrity":"sha512-eNP4CxNhrfkrV8BuaIemLk2X8+JwTasC4PDHA+31ucDByxVWH/xFCcq4P2VqGfXNdc6Wnbp8yb7Z04quzZ27+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjIa0Igs3xOIySkvr9KsRVJGFuMwNKVAF5BJ+unO8juwIgZ43upEXFwAwaz20wOoLMTRDZ3ZE+HirDAB9TkEpVuiY="}],"size":2460,"noattachment":false,"key":"/turf-bearing/-/turf-bearing-3.0.7-canary.ae89c8b3.tgz"},"maintainers":[{"name":"cspanring","email":"cspanring@gmail.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"jseppi","email":"james.seppi@gmail.com"},{"name":"jvrousseau","email":"jv.rousseau@outlook.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom@macwright.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/turf-bearing-3.0.7-canary.ae89c8b3.tgz_1465940834232_0.4635336068458855"},"directories":{},"readme":"# turf-bearing\n\n[![build status](https://secure.travis-ci.org/Turfjs/turf-bearing.png)](http://travis-ci.org/Turfjs/turf-bearing)\n\nturf bearing module\n\n\n### `turf.bearing(start, end)`\n\nTakes two Point|points and finds the geographic bearing between them.\n\n\n### Parameters\n\n| parameter | type               | description    |\n| --------- | ------------------ | -------------- |\n| `start`   | Feature\\.\\<Point\\> | starting Point |\n| `end`     | Feature\\.\\<Point\\> | ending Point   |\n\n\n### Example\n\n```js\nvar point1 = {\n  \"type\": \"Feature\",\n  \"properties\": {\n    \"marker-color\": '#f00'\n  },\n  \"geometry\": {\n    \"type\": \"Point\",\n    \"coordinates\": [-75.343, 39.984]\n  }\n};\nvar point2 = {\n  \"type\": \"Feature\",\n  \"properties\": {\n    \"marker-color\": '#0f0'\n  },\n  \"geometry\": {\n    \"type\": \"Point\",\n    \"coordinates\": [-75.534, 39.123]\n  }\n};\n\nvar points = {\n  \"type\": \"FeatureCollection\",\n  \"features\": [point1, point2]\n};\n\n//=points\n\nvar bearing = turf.bearing(point1, point2);\n\n//=bearing\n```\n\n\n**Returns** `Number`, bearing in decimal degrees\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install turf-bearing\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n\n","publish_time":1465940836651,"_cnpm_publish_time":1465940836651,"dist-tags":{"canary":"3.0.7-canary.ae89c8b3","latest":"3.0.12"}}