{"name":"@turf/circle","version":"6.2.0-alpha.0","keywords":["turf","circle","radius","polygon","miles","km"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/circle@6.2.0-alpha.0","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom@macwright.org"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"7c38253ee868da799d80a0aa17841e9def619485","tarball":"http://registry-npm.ywwl.com/@turf/circle/download/@turf/circle-6.2.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-uoFIPwBfeBsZwE6GnJi8AYqxB/8aqRIg5eiQnUlXpDz24YuGLGbq3cAVFD/cbpLOPYcrMTpWhH7oBW8ZLrsCeg==","signatures":[{"sig":"MEUCIDUdj2qIEhwhcH8kQhZk8xDUNTWU7bISmKbEIrgzwPtNAiEA/ypGqQvfHh9ylXPUl4qVopxBuRvrYd/OhKOBH6Eo2sc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefS43CRA9TVsSAnZWagAAEOgP/2IOJImkA89h4oKWMuwK\nTThaLExbENrURRn7/bsTJLC20jm8enhACrwnSuOFzuWdFIFHDqH+b4vlLRBS\naBkvDpecdwRYz15YIna+qyIooydc4/3XS3pUXPMTlQ+66eYNehf0lrRDrSdC\n2UcRRZdQH5x+SzjVmiIqsKcGbsP/7oj79L6KuJ1RBbO1kucKz4euBligyV+y\nBgsXuZ/jqQqpNKPsCgRlNM/UrPQAUITC+cxzknWXja6ftAT8zUww2esO1mc3\nUb/7h0Kzl17LFiU8RLggDK80kkWmcgnP34+mPOS9voEIIeHWQGZniNuFCcw1\niJNp7EH6YEO2kg91B08LRZW//JsPA1vneLqTXGeZcbv5fZvIZ07nwMGqN7qD\nMTRdr/HaSxxlsN4oYhI8QCBBJHRPIay2n1Get5lzN2B+mb77F+1fO72cbpb+\nr/hyQPoX526DcyR6koU8mAQME8oTRdiiXEqP1Hs/RAD5d9N3YjpbhjBOGev7\nh1AvsEyW12IfoA3NsdQhmGTUuQoiqxr8d2HUomwQ8IuBYtJxnFzl6iJ7vBhc\ngQKkkeyV/RO1F1jSNeuHgeEr56sn9ELeqNikMUN7N8H7hlUXnA4UxfM3xIgb\nmdVFHJmbKGhaXj9R2IhUZ1xNlt41Qi7A9N7Jh/H1D5WMskKQvf9FWyX1EJqj\nuCN6\r\n=OG3m\r\n-----END PGP SIGNATURE-----\r\n","size":3105,"noattachment":false,"key":"/@turf/circle/-/@turf/circle-6.2.0-alpha.0.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","gitHead":"23b651deaa1ca6a0960d0142aea620b7cc6a076d","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all prepare test:*","bench":"npm-run-all prepare bench:run","prepare":"npm-run-all prepare:*","bench:run":"node bench.js","test:tape":"node -r esm test.js","prepare:es":"tsc --outDir dist/es --module esnext --declaration false","prepare:js":"tsc","test:types":"tsc --noEmit types.ts"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v13.10.1+x64 (darwin)","description":"turf circle module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/helpers":"^6.2.0-alpha.0","@turf/destination":"^6.2.0-alpha.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","tslint":"*","benchmark":"*","typescript":"*","@types/tape":"*","@turf/truncate":"^6.2.0-alpha.0","load-json-file":"*","write-json-file":"*","@mapbox/geojsonhint":"*"},"_npmOperationalInternal":{"tmp":"tmp/circle_6.2.0-alpha.0_1585262135270_0.29140596566772303","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":1585262135398,"_cnpm_publish_time":1585262135398,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}