{"name":"@turf/envelope","version":"6.2.0-alpha.3","keywords":["turf","geojson","envelope","polygon","extent"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/envelope@6.2.0-alpha.3","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"875bce916ed94b2e3651d56656cb70dc410faca1","tarball":"http://registry-npm.ywwl.com/@turf/envelope/download/@turf/envelope-6.2.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-o34gl7Ki86Y6MT7L1wBChPtGjLp9jlhQD5Gg/VofJozKWKHzdwan6YlmIql10PT33lbUSP9YHNi4Bn7thg3WcQ==","signatures":[{"sig":"MEQCIEedh+xHLNWmySce86TEcsGpEkXjvFauwcb4obp5wLhYAiBlCSi5ECiz7kwYL5TCbv/SYlxqxm/TnzcMzKRuUy4T3w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0o2HCRA9TVsSAnZWagAAFlIP/RHfGdRjvg2FEoXc6zqv\nsnR0EbLF30G1BQGbCAaPAJOZrHfTEEmZ0wpcItrdikYp0Sn6JdwNIlpJc+i2\nYOi5+Ms01VFUcqMVkcXFT9m1krafpk62HSjfJDOjlA4cUmjBgOo8PWNGgzwC\nIcconel3b1r43E4kRyD0f9VQN2qRAUq+g7Lhknd94PlcABJ/lrDPJGIdlYGE\nqqHPXq0BLCU5CRQptJddgqeyZe+SvJIT8GFB2eAX2yH79D1o27OYXhPr7OlQ\ngxYZYCn+Bmalp80tj07q46HNJoZrXgAfMXt9Y0I1nuLANHEnFTAdvh10s+wN\n/jA9o/R93DFKecRQEmpwBAZh2WgTefq9oXZfCdHlTRqNFXdlN/nDjZSpgPQS\nGIW96auIoJUuykPaJ8FI758BLzU+Xhf7JRKv3EBlz6K4FrAy9e9JYsLFp2+K\n1fM6NJmzmcpX3mhucLqh52hkWJR3ebDKNiyIhIFh3oQ559NRXhNUgICOKNp/\n6VoCChkzPwFDha8VnqZNr4m0A7L/znqp7PnUf23hc6eoiG8L9cWkKUa2100j\nB94gMBz7wKOfc5h5GK/jHtC2ktaLxlaR0cLRg2PUbhpxhjI2v2qVeVgdDrxf\n3K1xmuxrxP5KHkqe1SX26S99AfljMlBCUbX9tcdKu2Lf2NXGJF2KsJC+ej7B\n2/tP\r\n=lZTg\r\n-----END PGP SIGNATURE-----\r\n","size":2609,"noattachment":false,"key":"/@turf/envelope/-/@turf/envelope-6.2.0-alpha.3.tgz"},"main":"dist/js/index.js","types":"index.d.ts","module":"dist/es/index.js","exports":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"gitHead":"dce9edfc705352e8cb9e0083c9330ba0e8d77409","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all test:*","bench":"node -r esm bench.js","build":"rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json","posttest":"node -r esm ../../scripts/validate-es5-dependencies.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.3","@turf/helpers":"^6.2.0-alpha.3","@turf/bbox-polygon":"^6.2.0-alpha.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","rollup":"*","benchmark":"*","npm-run-all":"*","load-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/envelope_6.2.0-alpha.3_1607634311320_0.153714244415027","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":1607634311561,"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":1607634311561,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}