{"name":"turf-polygon","version":"1.0.3","description":"turf polygon module","main":"index.js","scripts":{"test":"tape test.js","doc":"dox -r < index.js | doxme --readme > README.md"},"repository":{"type":"git","url":"https://github.com/Turfjs/turf-polygon.git"},"keywords":["gis","geojson","turf","polygon"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/Turfjs/turf-polygon/issues"},"homepage":"https://github.com/Turfjs/turf-polygon","devDependencies":{"benchmark":"^1.0.0","tape":"^3.5.0","dox":"^0.6.1","doxme":"^1.4.3"},"gitHead":"53b55207abdb3f6b275c6c8ec407dd59650e1fc3","_id":"turf-polygon@1.0.3","_shasum":"671dd34849864509281af18e236f67a7448c6363","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"jvrousseau","email":"jv.rousseau@outlook.com"},{"name":"jseppi","email":"james.seppi@gmail.com"},{"name":"cspanring","email":"cspanring@gmail.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"671dd34849864509281af18e236f67a7448c6363","tarball":"http://registry-npm.ywwl.com/turf-polygon/download/turf-polygon-1.0.3.tgz","integrity":"sha512-zpyHEUcnhGI02QjL/OJapQXkZSTCCbY5aErWt5P40iF5lbVAof+fZJKL9XJVAmTbrJ4FK2yH0gsxox99VSu7cQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFjTwZf78HR26lpLeVZmQfd/KVqFcsN9dQCTw5bQidJWAiApEFrG2M5eT+QBaDWqkILXD0akIu9uceNWgV801YaGyg=="}],"size":2919,"noattachment":false,"key":"/turf-polygon/-/turf-polygon-1.0.3.tgz"},"directories":{},"readme":"# turf-polygon\n\n[![build status](https://secure.travis-ci.org/Turfjs/turf-polygon.png)](http://travis-ci.org/Turfjs/turf-polygon)\n\nturf polygon module\n\n\n### `turf.polygon(rings, properties)`\n\nTakes an array of LinearRings and optionally an Object with properties and returns a GeoJSON Polygon feature.\n\n\n### Parameters\n\n| parameter    | type                   | description                     |\n| ------------ | ---------------------- | ------------------------------- |\n| `rings`      | Array.<Array.<Number>> | - an array of LinearRings       |\n| `properties` | Object                 | - an optional properties object |\n\n\n### Example\n\n```js\nvar polygon = turf.polygon([[\n [-2.275543, 53.464547],\n [-2.275543, 53.489271],\n [-2.215118, 53.489271],\n [-2.215118, 53.464547],\n [-2.275543, 53.464547]\n]], { name: 'poly1', population: 400});\n\n//=polygon\n\n//=polygon.properties\n```\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install turf-polygon\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n","publish_time":1423258966310,"_cnpm_publish_time":1423258966310,"dist-tags":{"latest":"1.0.3"}}