{"name":"@turf/circle","version":"6.2.0-alpha.3","keywords":["turf","circle","radius","polygon","miles","km"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/circle@6.2.0-alpha.3","maintainers":[{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.org"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"deniscarriere","email":"carriere.denis@gmail.com"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"d4d20f0acbbac32139030e3b840f852dcc17f789","tarball":"http://registry-npm.ywwl.com/@turf/circle/download/@turf/circle-6.2.0-alpha.3.tgz","fileCount":7,"integrity":"sha512-ruCESWFHjLbYZSJopDllSTGJrUntox5ZGi00G7Nub6FZ9qPnvkdkg9EGjI8126z6rNyDvJwGdYncmc6VmU/irA==","signatures":[{"sig":"MEYCIQCDZX66J+8hd7LcRUpVQ8GFtrdybbHvmB5ebORQW6UqpwIhAM6/f0aT4wDNcs54Pxhr0uZYbcO/SAC9l/18x2ogWeje","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0o1/CRA9TVsSAnZWagAAERgQAJULKzt+J0fMeisj1RdT\n5Z3LlKeBDGVnTNdWNa2PVkH1MmYLnifcTR8M+JDIO1uPfKEFEi2gVWFpiAAI\n8AiyCU46voiaKlxVnpYSA+J9tEfBHNLzjVdX5j5nhnMznSEsHb73F3QiQBut\nESHlJxq5DoC362mOthjKyPyiiZ5070ewduZCu/fU7EzKuUjppJYrBZq1TMOm\nW9xc/zOfdvtvHrItUhM1sO6Om5QxiLbrxy5KtHfX6H6liU1OPuPwZY13B2bJ\n0bQd8I9cRzjo/fwNxk9Tut2GYuhC5f9tWZz6dbgAYK8M8r5vz7afuGwm5j/a\nzeEVTG619JhnkbeDjJN49DJq/l3a3WAkTyFOkVr3Q9TOWZo2zWsIXw7BupKH\nSUpqJ9Xw6v2Gti7ZlwgNs5tyh1eCHuSYGKqgI79hcwQA7xCdUGRwqaYTLIPn\nqKP0IBdSyE0fsXbUhD0hzdaD4tgJz44KDk4cfLrGzfJ1o0zii+j4BQjHYC4j\nziD9gzAgM7rqJaYYsYsOKfHE6zxuFZsX9WBISMlDLFDZSmrMayq27I5akiLI\nMKoqYvyZZ5dv1fNWz0vZzi6EsQyRWT7kXNn2muHVR3BGPE2XALyEy2gQyaI/\n2jnZ24n6zH1ZpDJkzkSm7ViEOZIzvjgDmVst0ddUs4d03XSgK3qp703eT89v\ngn1E\r\n=7ezc\r\n-----END PGP SIGNATURE-----\r\n","size":3237,"noattachment":false,"key":"/@turf/circle/-/@turf/circle-6.2.0-alpha.3.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]&lt;[Point][3]> | [Array][4]&lt;[number][5]>)** center point\n-   `radius` **[number][5]** radius of the circle\n-   `options` **[Object][6]** Optional parameters (optional, default `{}`)\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]&lt;[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"},"gitHead":"dce9edfc705352e8cb9e0083c9330ba0e8d77409","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":"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.3","@turf/destination":"^6.2.0-alpha.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","@turf/truncate":"^6.2.0-alpha.3","load-json-file":"*","write-json-file":"*","@mapbox/geojsonhint":"*"},"_npmOperationalInternal":{"tmp":"tmp/circle_6.2.0-alpha.3_1607634302298_0.9706512800834102","host":"s3://npm-registry-packages"},"publish_time":1607634303243,"_cnpm_publish_time":1607634303243,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}