{"name":"@turf/bbox","version":"6.2.0-alpha.2","keywords":["turf","extent","bbox","polygon","featurecollection","geojson"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/bbox@6.2.0-alpha.2","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":"d01b6c399abe151204a5c416121611e2f0d57b37","tarball":"http://registry-npm.ywwl.com/@turf/bbox/download/@turf/bbox-6.2.0-alpha.2.tgz","fileCount":6,"integrity":"sha512-N1UEnnLGDk+j0a+O2veUhmgo6UNrf9ERtGbbIbTh8D0g5QFpYy3xiNVqUMqyZ/fRP6qR+/VUeSKKri0+UPiDJg==","signatures":[{"sig":"MEUCIQDBLUqkTBHb4V33aNkF3ZSENlWZDn+dORqilC6I9BNtiQIgHJmvSP0u2pj7Vnu7M/ALtYfMOUhs8FS3AbDMsVF5hgg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDHJOCRA9TVsSAnZWagAA6HgP/R9XWPpn4zjJr8kmsucH\n8EwB6tAmkx4znFcozRDTw9/sIDT4/1ZP1vabA2xOC3Br+u3Phl1CkCSQ0Z4D\nZroekgXFV1zsyaZBu/maOwGs3S30dDoRU4EsHDRyyXMqeDPKt6/L6fOfcSXW\njBr05yLY9g7wDecRHzXSeUVzRqWavMuGYqfKIpQSdttEmPnW+ZccV4wFhlCH\ni7sQc5vIJKs+0mi4PjtNDPIp6ZVF5z0z6p/e8QccnNc8ZTep8E2vFSTuGgYb\n+ysbQESPuGNJGysZLMpusMGXvCHI440aUTW0vofimGHeODiUkwa4YF5r3C3r\n3IcozRJqKCITAEKpjadcrGKSvigeJy7ZDOwqdrHXVChfRkiCKDo1e1oaPl8m\nOhM/jGS4Yd1+0LtvfFMggU1gb7o0eGmaJe372XR70Sgz3RuJyWRNOtpNIETu\nC3cd21n77BPNYnSTCwCwUg2Ry40HikIdmrdQ69V3ktkzR+8GMnSqoDoKugdR\nAiAnW12TBsFw+tuN3DlpRnjh3lcZUMrBIB2uJppKTotJYdFy7G8lwjMhT185\nBFeoR5UeKjtfgACtQYWIshxi8/YZTnvLMan0RbOXw/fZ5BlQcket8nQIKaj4\nYxg8BfU++w2ZsSg+fMcO6SuaYg6fKkXB6egRlMpHeF0lj7fPJ2Gn6xHx28mx\nUz+/\r\n=SERr\r\n-----END PGP SIGNATURE-----\r\n","size":2473,"noattachment":false,"key":"/@turf/bbox/-/@turf/bbox-6.2.0-alpha.2.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","readme":"# @turf/bbox\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## bbox\n\nTakes a set of features, calculates the bbox of all input features, and returns a bounding box.\n\n**Parameters**\n\n-   `geojson` **[GeoJSON][1]** any GeoJSON object\n\n**Examples**\n\n```javascript\nvar line = turf.lineString([[-74, 40], [-78, 42], [-82, 35]]);\nvar bbox = turf.bbox(line);\nvar bboxPolygon = turf.bboxPolygon(bbox);\n\n//addToMap\nvar addToMap = [line, bboxPolygon]\n```\n\nReturns **[BBox][2]** bbox extent in [minX, minY, maxX, maxY] order\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3\n\n[2]: https://tools.ietf.org/html/rfc7946#section-5\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\n```\n\nOr install the Turf module that includes it as a function:\n\n```sh\n$ npm install @turf/turf\n```\n","gitHead":"23d5cb91d77e0c1e2e903a2252f525797f1d0d09","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"},"_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 module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/meta":"^6.2.0-alpha.2","@turf/helpers":"^6.2.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","tslint":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*"},"_npmOperationalInternal":{"tmp":"tmp/bbox_6.2.0-alpha.2_1594651213943_0.8342852511060765","host":"s3://npm-registry-packages"},"publish_time":1594651214058,"_cnpm_publish_time":1594651214058,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}