{"name":"@turf/bbox","version":"7.0.0-alpha.0","keywords":["turf","extent","bbox","polygon","featurecollection","geojson"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/bbox@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":"ce24fbd8cedaa923c5a0d4615dace5b33c6e2b04","tarball":"http://registry-npm.ywwl.com/@turf/bbox/download/@turf/bbox-7.0.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-UAPAXhFfYTouXK0txckKhJZh5pA2EgDMp5LvmECAz9U/5s0wIaV1ZJA+gA0VH097D1J9iHfLBAg/rSO2LVD31g==","signatures":[{"sig":"MEUCIQDnqhF1LexTXA4mBPlUWfzdRla9CYUd6XaV7jFTUAzm6AIgdYlfyM3eUGcqWdPIAiRfrFQE4pZVQp0qZ23Z3T38cec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja8OoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpItA/8D3x9UTHCSUavFCk00yzTQyrijIsmXG7RKc5gAeFycRLE6FuG\r\nNzG5D2xQ8oS2dXdwl9rc7aM1XQ/pRikuPnxgCkoW/WisVKwKJdzlAp1AoBNI\r\ntuj13zQzzVgm5OTfC1S5cYgsoaVZldNhjXILGEkW+cAIZrZ2MXREtYOn7h4u\r\ntgcT21C6QdIV1nzlF0y4eJNqmYnWhYsyFbNm8QZs0hQrLB0VPcbYFmiZam6Y\r\nLbY+W93MBcGhmUMuTeRiinTJLyNGQAh18l6J1SdVPMI2a1E4/kivvqpeZaJx\r\nVJo2AQ7AFQcx7wDwh1X68c3U36ThJKt7sPL0Ye6B/qxUaRcZ1g/0rH9U9UDr\r\nXoktNntEOUtPA0nY5yJaIsBvSfgqW9uIr3NvorhpBsAKdY/K4Hxmf0xjufT3\r\nIkzzKZsUFXvD7OBP+cBLVk6998015m7mujPg2WTcvnH6C0PJhDhTr5ZpKDTj\r\nhX2F0D876TYXlH5716cToY2adO0tdY88qHXdIiCfhCEfXo1DG1ZtXkuZzjhj\r\nWnO6XtYOrAxC7W1kAWajoOSJbdHAsUU5+a3uK5TFWfPEO6TyLNDYrUR60N8l\r\nKUMNTv+kaDielw8b3i5pO1xkxfNn5U0PPPEO6SS9Xq5I1FYtLa7u64I+7bVE\r\n/H6kjnnlU/4H7vQjj93bKHSyLg7W1QONYMk=\r\n=Jk9H\r\n-----END PGP SIGNATURE-----\r\n","size":2886,"noattachment":false,"key":"/@turf/bbox/-/@turf/bbox-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\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## bbox\n\nCalculates the bounding box for any GeoJSON object, including FeatureCollection.\nUses geojson.bbox if available and options.recompute is not set.\n\n### Parameters\n\n*   `geojson` **[GeoJSON][1]** any GeoJSON object\n*   `options` **[Object][2]** Optional parameters (optional, default `{}`)\n\n    *   `options.recompute` **[boolean][3]?** Whether to ignore an existing bbox property on geojson\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][4]** bbox extent in \\[minX, minY, maxX, maxY] order\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3\n\n[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n\n[4]: 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","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 module","directories":{},"sideEffects":false,"_nodeVersion":"19.0.1","dependencies":{"tslib":"^2.3.0","@turf/meta":"^7.0.0-alpha.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_7.0.0-alpha.0_1668006824047_0.8386252604960607","host":"s3://npm-registry-packages"},"publish_time":1668006824235,"_cnpm_publish_time":1668006824235,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}