{"name":"@turf/area","version":"3.5.2-alpha.d2c36ee7","keywords":["turf","area","polygon","multipolygon"],"author":{"name":"Tom MacWright"},"license":"ISC","_id":"@turf/area@3.5.2-alpha.d2c36ee7","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"93985d91d79491ec11c48e1d073db2e4960ebefc","tarball":"http://registry-npm.ywwl.com/@turf/area/download/@turf/area-3.5.2-alpha.d2c36ee7.tgz","integrity":"sha512-hNS+L82aESudXqeg2V2bnWj7/upqUzsY1ocbi6TXKkdd2s9TTePexBYb8uaHYR/gJtED33vP14xq3mbpfzIvlA==","signatures":[{"sig":"MEQCIFrDcim23gPsJoSG+UHe5/qQYLojm0Y7Myt8T1SeADKmAiB9d/qj1oKKgB2oMAhYHk+2OJ6l0f7mRo/FthLJUDuvbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1787,"noattachment":false,"key":"/@turf/area/-/@turf/area-3.5.2-alpha.d2c36ee7.tgz"},"main":"index.js","_from":".","_shasum":"93985d91d79491ec11c48e1d073db2e4960ebefc","scripts":{"test":"tape test.js"},"_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"2.15.9","description":"calculate the area of a polygon or multipolygon feature","directories":{},"_nodeVersion":"4.5.0","dependencies":{"geojson-area":"^0.2.1"},"devDependencies":{"tape":"^3.5.0","geojson-fixtures":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/area-3.5.2-alpha.d2c36ee7.tgz_1478287957210_0.6781468039844185","host":"packages-12-west.internal.npmjs.com"},"readme":"# @turf/area\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## area\n\nCalculates the geodesic area in square meters of one or more polygons.\n\n### Parameters\n\n*   `geojson` **[GeoJSON][1]** input polygon(s) as [Geometry][2], [Feature][3], or [FeatureCollection][4]\n\n### Examples\n\n```javascript\nvar polygon = turf.polygon([[[125, -15], [113, -22], [154, -27], [144, -15], [125, -15]]]);\n\nvar area = turf.area(polygon);\n\n//addToMap\nvar addToMap = [polygon]\npolygon.properties.area = area\n```\n\nReturns **[number][5]** area in square meters\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1\n\n[3]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[4]: https://tools.ietf.org/html/rfc7946#section-3.3\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/area\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n","publish_time":1478287957428,"maintainers":[{"name":"smallsaucepan","email":"james@smallsaucepan.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"}],"_cnpm_publish_time":1478287957428,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}