{"name":"@turf/bbox-polygon","version":"6.2.0-alpha.3","keywords":["turf","gis","geojson","extent","bbox"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/bbox-polygon@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":"90ccf8ee9f7009d991d5d579ece2d61a6b1247f8","tarball":"http://registry-npm.ywwl.com/@turf/bbox-polygon/download/@turf/bbox-polygon-6.2.0-alpha.3.tgz","fileCount":7,"integrity":"sha512-tGSC8oz7QCeiPJ8jWt8+p/dQXSfsxjSK/QWCdcqdK0aKliKhOHhwOxYBx6zfzRkAwAGXfODurwiv5Y+xVK00FA==","signatures":[{"sig":"MEQCIFaojGaKeph+UjOgYdq5DlwD955JHiU2lCKx8BsgkyUQAiBMqKlV2NLMhRYhlg7pHrW9LI92UqGHUhnpSxEmb29ktA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0o1LCRA9TVsSAnZWagAAykcP/1bQoaTfg3p4CE6V6wfB\nCkFPv/654P9JsyznsbgMQZCtjXOh8KUl5tja/ri6L+dOj4wha7ku2NmSWu/7\nkHvABDLAidAMsexev1WmhiyvsuP71zwsXnbpf5OvaZayQZ1+/lUpCqPPVmDg\nYffp86Wr4X+v7Vph/+XlIZv3lKRDak0bYsru2FVX2OtBQhVD0pVX868DNfSa\no8zgcYqCyndmct0xzr3jRYvd5cjg50bP49obavLKBoLDbMD4BIX6iVkJYhk2\nhJy7dPV4tqG7dbZhcnlWIUIodQ5B8lKoj/UKfi9XF5RUO40Cp8aJlnJd28Gf\nAlMOGor2nTkoCglQNrD8xrZ+VHddEbkiejdIIHA2jPWBra9G4mqWJFA4KEh1\nPpcbT7Gp1RxcghHaynpcxomQy5qvc6zsklQIE6PwNmv2ZsXRTLDaRafa9wv8\n0vrrltUH6kTQHkBfWwNvbFhbsyAy/0dDHStPExvYPCmAG+LPAM5462KahGj5\ni1sX6LIaXM5rsd7zltBfqG3C9oSrPP1Q++mR3i/fJ5RcYP4x9X0AP8gWcK7D\ntpgS3/Ptd/grNwGiAZkH7I9qkpirWTcdl3otZVqXsnNeBwxqwQaSN//Hj9K5\nI3VBRecdf1o1r2yskA4b1O9fw57HeoxTchqosaEAGk2CNYhUiUJzrZJdMXnG\nkF/a\r\n=Ihok\r\n-----END PGP SIGNATURE-----\r\n","size":2942,"noattachment":false,"key":"/@turf/bbox-polygon/-/@turf/bbox-polygon-6.2.0-alpha.3.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","readme":"# @turf/bbox-polygon\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## bboxPolygon\n\nTakes a bbox and returns an equivalent [polygon][1].\n\n**Parameters**\n\n-   `bbox` **[BBox][2]** extent in [minX, minY, maxX, maxY] order\n-   `options` **[Object][3]** Optional parameters (optional, default `{}`)\n    -   `options.properties` **Properties** Translate properties to Polygon (optional, default `{}`)\n    -   `options.id` **([string][4] \\| [number][5])** Translate Id to Polygon (optional, default `{}`)\n\n**Examples**\n\n```javascript\nvar bbox = [0, 0, 10, 10];\n\nvar poly = turf.bboxPolygon(bbox);\n\n//addToMap\nvar addToMap = [poly]\n```\n\nReturns **[Feature][6]&lt;[Polygon][7]>** a Polygon representation of the bounding box\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1.6\n\n[2]: https://tools.ietf.org/html/rfc7946#section-5\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n[6]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[7]: 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/bbox-polygon\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"},"_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 bbox-polygon module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/helpers":"^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":"*"},"_npmOperationalInternal":{"tmp":"tmp/bbox-polygon_6.2.0-alpha.3_1607634250819_0.2864115518799435","host":"s3://npm-registry-packages"},"publish_time":1607634250972,"_cnpm_publish_time":1607634250972,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}