{"name":"@turf/circle","version":"6.5.0","keywords":["turf","circle","radius","polygon","miles","km"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/circle@6.5.0","maintainers":[{"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":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"dc017d8c0131d1d212b7c06f76510c22bbeb093c","tarball":"http://registry-npm.ywwl.com/@turf/circle/download/@turf/circle-6.5.0.tgz","fileCount":7,"integrity":"sha512-oU1+Kq9DgRnoSbWFHKnnUdTmtcRUMmHoV9DjTXu9vOLNV5OWtAAh1VZ+mzsioGGzoDNT/V5igbFOkMfBQc0B6A==","signatures":[{"sig":"MEQCICQ6ZVBHk62RWlPOgk+Ppxq3x0uuylmH/edHPKZFo19GAiAuv9xDL70P37aq6RhBqSUAbEVaA/SuQNVu83GtWnbWNw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2fIICRA9TVsSAnZWagAAS0YQAJs+UEsuCK/MQ0JRgCev\n373sb4KgPb/UYg5IxtYmYdYafwSgG48D7R/9LI4Q0R110UXzOYwD8IX0HeU3\nmUH+VgWt0a9PphS/KoyQeC6NU5oewthwrVnJF5WZzl8wYVBPtS+15Jzl7cod\nJlcjZEjgezyStK67PJ+jEUuiy4XjC1KD/povXOizy8CzrQpBof76qlbigXHO\nTpeP5LhwSZM2Thz1JgPWsbGhZwVnAMRHXCcxdEBFmKPXY8pxmkqwTvhVqmPe\nkX3NVxYCcSbvROljvzIDziC+vEBfF3Be/pjKteITX8oCMPKIQHZVbhD5IWvd\nMNH5I0QQmIM4A/1n44HALbUkD7BUc9t2sX+XsZb0jy4BwY5v1z7aDm5fuoHc\nV8lMQet9sbem5suM44rOX2RJsHtgFDr82jw05xagSW+xTsjklRRgKQdKdfbc\n7WHgipWmhgyNkagHwPOMcFKORnjJS85WGcTHLBw9xK5QiWkmGZEC0E9Ii1j3\nV7vEopAMbaIdtXUsnFpqFgusKRCsWPMHvigJN8UNlVX4cMrtEmCEhbtZBpxm\nItAm4cgXmd25aK49veLHT4PzJ/GNwTVWX3Bg6opZmFKnHsWlsmi94vW2ZwPC\nhq4stLL0TaqQSwhZho00VLh/JGDc5EdqD760YF4e3TpA8zNiItSbe0lPLAzn\nSlHF\r\n=wNmE\r\n-----END PGP SIGNATURE-----\r\n","size":3271,"noattachment":false,"key":"/@turf/circle/-/@turf/circle-6.5.0.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","exports":{".":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"5375941072b90d489389db22b43bfe809d5e451e","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all test:*","bench":"ts-node bench.js","build":"npm-run-all build:*","build:es":"tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json","build:js":"tsc","test:tape":"ts-node -r esm test.js","test:types":"tsc --esModuleInterop --noEmit types.ts"},"_npmUser":{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.8.0+x64 (darwin)","description":"turf circle module","directories":{},"sideEffects":false,"_nodeVersion":"14.8.0","dependencies":{"@turf/helpers":"^6.5.0","@turf/destination":"^6.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","@turf/truncate":"^6.5.0","load-json-file":"*","write-json-file":"*","@mapbox/geojsonhint":"*"},"_npmOperationalInternal":{"tmp":"tmp/circle_6.5.0_1625912261595_0.6846324186322106","host":"s3://npm-registry-packages"},"readme":"# @turf/circle\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## circle\n\nTakes a [Point][1] and calculates the circle polygon given a radius in degrees, radians, miles, or kilometers; and steps for precision.\n\n### Parameters\n\n*   `center` **([Feature][2]<[Point][3]> | [Array][4]<[number][5]>)** center point\n*   `radius` **[number][5]** radius of the circle\n*   `options` **[Object][6]** Optional parameters (optional, default `{}`)\n\n    *   `options.steps` **[number][5]** number of steps (optional, default `64`)\n    *   `options.units` **[string][7]** miles, kilometers, degrees, or radians (optional, default `'kilometers'`)\n    *   `options.properties` **[Object][6]** properties (optional, default `{}`)\n\n### Examples\n\n```javascript\nvar center = [-75.343, 39.984];\nvar radius = 5;\nvar options = {steps: 10, units: 'kilometers', properties: {foo: 'bar'}};\nvar circle = turf.circle(center, radius, options);\n\n//addToMap\nvar addToMap = [turf.point(center), circle]\n```\n\nReturns **[Feature][2]<[Polygon][8]>** circle polygon\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1.2\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[3]: https://tools.ietf.org/html/rfc7946#section-3.1.2\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String\n\n[8]: https://tools.ietf.org/html/rfc7946#section-3.1.6\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/circle\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":1625912261750,"_cnpm_publish_time":1625912261750,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}