{"name":"@turf/bbox-polygon","version":"7.0.0-alpha.0","keywords":["turf","gis","geojson","extent","bbox"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/bbox-polygon@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":"1411b63fbe653beebb4d32a2b3f58f9bc2bf76d5","tarball":"http://registry-npm.ywwl.com/@turf/bbox-polygon/download/@turf/bbox-polygon-7.0.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-njV3PjOsOuZDxpIa0o4gbWM+oybMfM3Kz1Z9emafY4B24wcEiwKzVr0zOTSqLVZzj89v6nNWWz3gdLn5onsEbA==","signatures":[{"sig":"MEQCIEh7eCO/Ww7gm9ZFT6msFe0E8lfwiLcWwRiQZzREFSkMAiByXWyjW35MdW3eZikYWxqBdF4BiyGyUsiusjIEUVX0ZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja8OjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqz5A/5AKkDUmTZxhyr9WoXWRL1lSjAbnJds3kwOS1WZJSHmoMmfVXX\r\nRsSomGM1JqijHzK0f6w3/1SG2M+R+E7fCStQWfTmmD6gV1EJmO1pL9khGdra\r\ne/Gi9TsliLFnH58OtEkSDwk1YT1bv+ES6NeWZF6OJysZmHOPW/+8ZltuszSM\r\nFa7LdKfXkn7lJ3q7e7UooAPPOwgcPpa79gYwGhaUk31O+arl8A5cfEdqSFRk\r\nHKLN1T+fdy1dJaEwBWuWEhtCqw0AMekuB3m2PFc/7fijz29Hs3YKi49nZC8A\r\n51AjcYmxpbVStXUdaChHIBYOyTiPlbMkWyhE7xd8knXrMHxUvVtDspQux23C\r\niYf0V8/O3iKNjw8nbmtl/kjkcBOKFjFWC8do+67OrT5s9lxQ2+9OvmQMgnY2\r\nSZxMM7tOkDN0cb0Vq54FrfGlwoyhGoxpI7Xs6g4emRlkeJp0N6QfkQE8EwV7\r\n4tB5Hz729fYXiDsbgMXimdjen2mP/pkKeBs5nYRTFe+awMn4Qv+gCabbTRwu\r\nt7DRXGywvKAxrbx8gcG0OpenEoQ/8Vt1E6H2Z1w8vBLMEdrBq8n2Jee97UvH\r\njMH2PZ5u4HAnoLZLswyR4WCSV4KlZ1+6q9uR9IJtCC4YoWrknA93WmEZ6LeU\r\nPVHZ6AhX+o3QYWzjCI2Dhd2hQt6ADr4TITE=\r\n=bj5C\r\n-----END PGP SIGNATURE-----\r\n","size":2981,"noattachment":false,"key":"/@turf/bbox-polygon/-/@turf/bbox-polygon-7.0.0-alpha.0.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\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]<[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"},"./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"},"_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 bbox-polygon module","directories":{},"sideEffects":false,"_nodeVersion":"19.0.1","dependencies":{"tslib":"^2.3.0","@turf/helpers":"^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":"*"},"_npmOperationalInternal":{"tmp":"tmp/bbox-polygon_7.0.0-alpha.0_1668006819699_0.591753114498756","host":"s3://npm-registry-packages"},"publish_time":1668006819778,"_cnpm_publish_time":1668006819778,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}