{"name":"@turf/envelope","version":"6.2.0-alpha.0","keywords":["turf","geojson","envelope","polygon","extent"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/envelope@6.2.0-alpha.0","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"71583c229578fb9360f469a0c00fda4b435b3012","tarball":"http://registry-npm.ywwl.com/@turf/envelope/download/@turf/envelope-6.2.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-y879+844jmVgGNM9viPVWdl1Nmrt3fNU3J8I75fPljfXtktpQLhXhRcRarnq8M/vNOH+Z5TyP5AnS1evfZS1YQ==","signatures":[{"sig":"MEUCIQDtK9mxWinoqyqXsIzLKowGB/1nQ0B/X2VcWw6nICB6agIgaL3gZfai9g8Xn2++jKzLIe/0e5VLiuqE3lVVTN8ueew=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefS+MCRA9TVsSAnZWagAAQ8YQAKOImU5cy2Wo6RMsCp/4\nzzAQ2O9owyvG41gvhJHHNd6DScV9TqSs62/wn7vI6OGma3g25KcNC/XA33gs\nu0OX9L6tq0tE1Lx19X/E7+8jIElxlEy79/nqvUAOqZhE815fcIjAAtA2HC15\nuvswsdtfkNaCnas6wGacADPED6SoS+aXaigZ7/WucnsKw3VRGYtQObbFaDD3\nT/tVQHMLoC2Urm/gjR7m+g86F5EsosxSFBKBck5qeMSou4O5dZbZoIXn954u\n+Jff6OfFj7SIYlWyKi2kIjPgjLX2MJURjSrpY63YxLctLFbf0zzd+7G4Yh1+\n4gUmL7buOhIypqjoB71wRjaufnlWEj76p12U1GyuMwHHHVqCUMTulW+z7g5g\nEYhGyUuLKu8BTD9uHE+P/axpCLemamh8p6euVjZ/l1gk/6Ee4esoM7KPWcyG\n9LLuMXWR+fDOkkpYc/bt1Id9VBCdK4oRwC0trp5j2zC1eU2bgMOrvp1zKj+F\nnRyCd4+5nMMMURR/BXz8bgPkVB6SFJal6dGlU/2swFqy+KSEvXF/X5O+QsCE\nv26QinlTt82/TPz3ikm9sZDjUmnX5evo3H3VAhJCvdCyLQM+TyvTgTtBhfMk\ny1Ar9TH8evydwygb9dtt+qCdgVwvPG5SzFKldR56AeCQLzOh4G0k6+8abvN+\nx54Y\r\n=PAPZ\r\n-----END PGP SIGNATURE-----\r\n","size":2520,"noattachment":false,"key":"/@turf/envelope/-/@turf/envelope-6.2.0-alpha.0.tgz"},"main":"dist/js/index.js","types":"index.d.ts","module":"dist/es/index.js","gitHead":"23b651deaa1ca6a0960d0142aea620b7cc6a076d","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all prepare test:*","bench":"npm-run-all prepare bench:run","prepare":"rollup -c ../../rollup.config.js","posttest":"node -r esm ../../scripts/validate-es5-dependencies.js","bench:run":"node bench.js","test:tape":"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 envelope module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/bbox":"^6.2.0-alpha.0","@turf/helpers":"^6.2.0-alpha.0","@turf/bbox-polygon":"^6.2.0-alpha.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","rollup":"*","benchmark":"*","load-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/envelope_6.2.0-alpha.0_1585262476030_0.21759402145238393","host":"s3://npm-registry-packages"},"readme":"# @turf/envelope\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## envelope\n\nTakes any number of features and returns a rectangular [Polygon][1] that encompasses all vertices.\n\n### Parameters\n\n*   `geojson` **[GeoJSON][2]** input features\n\n### Examples\n\n```javascript\nvar features = turf.featureCollection([\n  turf.point([-75.343, 39.984], {\"name\": \"Location A\"}),\n  turf.point([-75.833, 39.284], {\"name\": \"Location B\"}),\n  turf.point([-75.534, 39.123], {\"name\": \"Location C\"})\n]);\n\nvar enveloped = turf.envelope(features);\n\n//addToMap\nvar addToMap = [features, enveloped];\n```\n\nReturns **[Feature][3]<[Polygon][1]>** a rectangular Polygon feature that encompasses all vertices\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1.6\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3\n\n[3]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/envelope\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n","publish_time":1585262476156,"maintainers":[{"name":"smallsaucepan","email":"james@smallsaucepan.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"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"}],"_cnpm_publish_time":1585262476156,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}