{"name":"@turf/circle","version":"7.0.0-alpha.0","keywords":["turf","circle","radius","polygon","miles","km"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/circle@7.0.0-alpha.0","maintainers":[{"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"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"516714658b9b83635db72bf7baabe7dc311f08b3","tarball":"http://registry-npm.ywwl.com/@turf/circle/download/@turf/circle-7.0.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-M6nZqCsiUHCXLVR2LEGO02+02aQHfMlWZN/fXpPguwI3XRq400QWh04zpcC/zsvocV8JRGM4aOejgqEWqKvWlw==","signatures":[{"sig":"MEUCICqaTk0TzdT6b2S3FaXfOATAHq2StUf0koJ02eWVf5L+AiEAp5Y1FEUzQ3y6oVNznP2xsxEdcVwAdrka9DBBbcTxzXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9569,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja8OsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUKg/8DzO816GaCaWt2LYlgXzidYh+xOfRVbVwzgwYNYxnxEb4Dr24\r\n2J4SiSA+DajG2UKIIQKA4f9bYNny0MgeEO+aUCCktO1XFq/f4fekRglDR5MW\r\nc5iYjTFlURf6BGWAMpDLqhhPdDx6vSni72NI06TQ4wpiLOWuHdMYv6J++cmP\r\ng9TErJdn3pdgsht7hz92xyh2QA+3oSfxM+4D5zKGWIbAUJKFSlEYs7SXksUx\r\nTAiKDviUhZDI/+uYcqkwUHpgZjnAPLt9859igDMrH78IPA3rnKvmD6tiPqO0\r\nCv+xRr5F1t6O1y82Qz/tktqrSUVpjn4EzdvFLQGrvc9gn8YglVsG1zMGgFSn\r\n2/uPz5G9NKGoiTUW3bSC/1Qg2evBSbfr4ffqHSeKwPMfNMvzTq1y9wnQvSRS\r\nWU3n4kdXl6WojUF+fwUZWri7m0pBoAgPBvBgnvzJHAoeURjU9kLfv+r+mQ7n\r\nlH//IYFFOVOw8IEzJhWKsTljHoEr3wSmC7hhZaAulnuZbul/qjDtS0vKQer+\r\nColo4UE5uSocviX6usyoyOUx8ZdaZcXaJy555EdfifKH9nyTDFgL0ezHA/Xk\r\n6jCkITIWNyg2YDdhaeaw9CB6tA0M9XxTHphLKVSOaL627TYTWKaDh6jCJsXl\r\nVopHrtiP9hjXx317FzsGwFUQB43Rp/IUuy8=\r\n=EBVW\r\n-----END PGP SIGNATURE-----\r\n","size":3242,"noattachment":false,"key":"/@turf/circle/-/@turf/circle-7.0.0-alpha.0.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","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:\nif you find an error, edit the source file (likely index.js), and re-run\n./scripts/generate-readmes in the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](http://turfjs.org/), an open source\nmodule collection dedicated to geographic algorithms. It is maintained in the\n[Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create\nPRs and issues.\n\n### Installation\n\nInstall this module individually:\n\n```sh\n$ npm install @turf/circle\n```\n\nOr install the Turf module that includes it as a function:\n\n```sh\n$ npm install @turf/turf\n```\n","exports":{".":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"0edc4c491b999e5ace770a61e1cf549f7c004189","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 --strict types.ts"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v19.0.1+arm64 (darwin)","description":"turf circle module","directories":{},"sideEffects":false,"_nodeVersion":"19.0.1","dependencies":{"tslib":"^2.3.0","@turf/helpers":"^7.0.0-alpha.0","@turf/destination":"^7.0.0-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","@turf/truncate":"^7.0.0-alpha.0","load-json-file":"*","write-json-file":"*","@mapbox/geojsonhint":"*"},"_npmOperationalInternal":{"tmp":"tmp/circle_7.0.0-alpha.0_1668006828672_0.8305149292675917","host":"s3://npm-registry-packages"},"publish_time":1668006828825,"_cnpm_publish_time":1668006828825,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}