{"name":"@turf/envelope","version":"6.2.0-alpha.1","keywords":["turf","geojson","envelope","polygon","extent"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/envelope@6.2.0-alpha.1","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"e728b65326afa36e1a2e0894885bbd64ca6e1245","tarball":"http://registry-npm.ywwl.com/@turf/envelope/download/@turf/envelope-6.2.0-alpha.1.tgz","fileCount":7,"integrity":"sha512-UoXOGS2VcGk5R3/g6DcoSUXd6pkMQERC7uVOpscPTV4sLRedlJ+k+BquJ9Hg/rTh6Tw8rsF7lp+UFDEzKKplkQ==","signatures":[{"sig":"MEYCIQCCk7dyWocEIcJDnSdQTtdem/HDU4OkcpKNUCEHmhb2iAIhALLSvF10b/kIjBITh1HpL6BKzQyINsHnNFYagbroAVPS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefUKHCRA9TVsSAnZWagAAzLkQAIHPY68+SHlF3/T8xAua\nD/X/Yi5jKHEIw4CwoUNOI8NlnJsnw2WQxNwrcjFThGDO5nEwHT8bllDH9yn8\nfZ7l2SJINeeu/YNMB6YmYVj6xYyqWEHgdxyxcMsEdWq9TTrBcqZIB8jW4gT/\nZJ/iY/31e5eb67qTmsEzF62MdVfsE0u9SXrz5Tb3qlrwsfUW5IzoViPVdnnq\n8NYuDN8TN09d+o4ND4AkCHCVB17YBNq5qwZ7kr1JGC/dulLc4wLECHEogH9+\nqMentx9RpJChiKCtwDtpBpnnCwc0KICYKXfumA6rUvQ7nkoKufLH8el61J0d\nGYzLK1fFnHmnglx0n6M4F+aO5g99koMQJaJvdVrD81bupGvNVhqtoM7aDfMO\nf0P7d/NGIuOkelUbsVfaqh6S3R7iNAJqu78mInv2Ml+U7vaSh3rZUjc9Gz15\nqcwN9IzoNA4EPHnA+qVcclArctlsT2FspAYDM14CZ7p6mWM6TVRWEfKd+hNL\ncUjthazt6JLUjczsqnkwxS9orkj507eDm8N/eOPt+LXTU+0znSYvTybXavx6\nDs/+Od60DEGsstLQdX7ZqLP0/juRmW7AQjZ8h0s/sVTNYCpFq9VcEUfs6/wp\n+l7DxYXwveB7IylxH2CJRcmI7SwtmaqKEi0qfBwhczVPfhBxNn+18/oFsLQ9\nbjsT\r\n=ia7C\r\n-----END PGP SIGNATURE-----\r\n","size":2540,"noattachment":false,"key":"/@turf/envelope/-/@turf/envelope-6.2.0-alpha.1.tgz"},"main":"dist/js/index.js","types":"index.d.ts","module":"dist/es/index.js","gitHead":"fc519c045a8931c1e14eab9160a7e28391f8da02","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.1","@turf/helpers":"^6.2.0-alpha.1","@turf/bbox-polygon":"^6.2.0-alpha.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","rollup":"*","benchmark":"*","load-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/envelope_6.2.0-alpha.1_1585267334637_0.9999948238124303","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":1585267334996,"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":1585267334996,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}