{"_id":"@turf/linestring-to-polygon","_rev":"29-a1e2e935f9c6c784f21ff148f47ba8d6","name":"@turf/linestring-to-polygon","dist-tags":{"lerna-temp":"4.7.1","latest":"5.0.0"},"versions":{"4.0.0":{"name":"@turf/linestring-to-polygon","version":"4.0.0","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.0.0","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"2af1aa6c1495b6156f0d480506fdffb5f0b304f2","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.0.0.tgz","integrity":"sha512-C/5vietIBP7ByuWAEN3A79JcjKYr4053cMSKkmK7Uha46efWHlUHYIUAcr5TQTKP2rFDBqrFyt/Id0k3SXsMRw==","signatures":[{"sig":"MEYCIQCqH8if3Jy1WzzdIwxemS074uDnfPaA3YUeukJZW6ORIwIhAJZ3lkHz88Kca7MbgyEdFUZAVRYvwJjjxth7Jc4FV3lV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"2af1aa6c1495b6156f0d480506fdffb5f0b304f2","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"4.2.0","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"7.9.0","dependencies":{"@turf/bbox":"^4.1.0","@turf/helpers":"^4.1.0","@turf/invariant":"^4.1.0"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.3","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.0.0.tgz_1493588472044_0.4846565080806613","host":"packages-12-west.internal.npmjs.com"}},"4.2.0":{"name":"@turf/linestring-to-polygon","version":"4.2.0","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.2.0","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"9f3c98ce3b6b8a5d459dfcf232d47e865e0365ed","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.2.0.tgz","integrity":"sha512-gk2+/xSbjgCq3F1u2UKKWy1tjEy4jGdsWQVvaWF13QBD02xFj09UFCz8YatOqGkrPL+vmN4tj5i7ANjlbp9iGg==","signatures":[{"sig":"MEQCIHtE92RXOSqRsV4b9fVYuNY8U56mWYmVfOnXpHgbOgCIAiAsVloFdw5qMh04vbvYZvyGc4OTYiqxSdzwJzoWwojoIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"9f3c98ce3b6b8a5d459dfcf232d47e865e0365ed","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"4.2.0","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"7.9.0","dependencies":{"@turf/bbox":"^4.2.0","@turf/helpers":"^4.2.0","@turf/invariant":"^4.2.0"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.3","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.2.0.tgz_1493588841959_0.10141720878891647","host":"packages-12-west.internal.npmjs.com"}},"4.3.0":{"name":"@turf/linestring-to-polygon","version":"4.3.0","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.3.0","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"29ba7d5614ac021e53c808615bd8645314660b4d","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.3.0.tgz","integrity":"sha512-hz8toobpzpgT+wXCZcXXq9An0IadDm2gnSzn7NXP5QxiTdp3D5POxPjh+ridpsszIZ9uYQi1XrOlm6TWDWMieA==","signatures":[{"sig":"MEUCIFDUbKUUXLw98SWHBwmaDE4PuFGaY40Y4Lny1MZROmzyAiEA+LOl8fxYwdvL+IUROnErOlh1EIj3wEL5pOAbiQexJ50=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"29ba7d5614ac021e53c808615bd8645314660b4d","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"4.2.0","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"7.10.0","dependencies":{"@turf/bbox":"^4.3.0","@turf/helpers":"^4.3.0","@turf/invariant":"^4.3.0"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.4","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.3.0.tgz_1494554704253_0.17665987112559378","host":"packages-18-east.internal.npmjs.com"}},"4.4.0":{"name":"@turf/linestring-to-polygon","version":"4.4.0","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.4.0","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"4be54e45e937d85798e60cf222955679758768bb","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.4.0.tgz","integrity":"sha512-jDfcdTAacMUQ96Jhz0mO3BUFGJNNdNpnOmsEm88H0gkLJYYATrRPA40zRSHlrF7o/N6c+GJZhfNwGzvagW6IvA==","signatures":[{"sig":"MEQCIH4OTEZ1we9oXSTf2phNVi2OX3YOcVRsepif/e1yf9L/AiBp4P5iX3GFr2leIdEKbxEtz82NCgWJLFLwUWvTZUuJDQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"4be54e45e937d85798e60cf222955679758768bb","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"4.2.0","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"7.10.0","dependencies":{"@turf/bbox":"^4.4.0","@turf/helpers":"^4.4.0","@turf/invariant":"^4.4.0"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.4","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.4.0.tgz_1496713977214_0.8608674060087651","host":"s3://npm-registry-packages"}},"4.5.1":{"name":"@turf/linestring-to-polygon","version":"4.5.1","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.5.1","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"8dde1df4a41edf48e8ddcd8ca763726379e3f2c3","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.5.1.tgz","integrity":"sha512-OD3cHxaAL81ylcIRnUzdnSq6BvP7whefc5aKsY5X5UIbEghaUMlbCTLcxmUDs3yerxJTQGjxT6Hi6TH1cK+E/A==","signatures":[{"sig":"MEYCIQDLwWsOIfvoJSq4R3sQ5bcX6ohZ0I3v+CvQNWcYEdnr5AIhAOh3m9dZThvyjodOIcvYQR5h2q/k/pOnPprNIQJE6yX9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"8dde1df4a41edf48e8ddcd8ca763726379e3f2c3","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"4.2.0","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"7.9.0","dependencies":{"@turf/bbox":"^4.5.1","@turf/helpers":"^4.5.1","@turf/invariant":"^4.5.1"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.4","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.5.1.tgz_1498842456906_0.42994684376753867","host":"s3://npm-registry-packages"}},"4.5.2":{"name":"@turf/linestring-to-polygon","version":"4.5.2","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.5.2","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"f566576e855473e22e37ed5a0540052ecad66431","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.5.2.tgz","integrity":"sha512-yGdfpHtY9EJxSo+MvgaWgbrBnpbENroa4L3wyGkJqdRVI7xqV2pCA/LNiAC2NkPBo59RwPQuzQ+C8r3OfdoHOA==","signatures":[{"sig":"MEUCIDVSPIroG7bCMu7biptQ8+ifB+BX+0TWR6CIIsqS2naNAiEAzHNDtLiLWYw50jdeKd0mR5wAJrZ76zLKk3QOR0Ul2A0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"f566576e855473e22e37ed5a0540052ecad66431","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"3.10.10","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"6.10.3","dependencies":{"@turf/bbox":"^4.5.2","@turf/helpers":"^4.5.2","@turf/invariant":"^4.5.2"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.4","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.5.2.tgz_1498843422535_0.030533720506355166","host":"s3://npm-registry-packages"}},"4.6.0":{"name":"@turf/linestring-to-polygon","version":"4.6.0","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.6.0","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"a03cbe5c38073b4142696deaef61eee39487ab0a","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.6.0.tgz","integrity":"sha512-4PYPb+uv0kqnbIUc0csHj3HiBTltvtfiQN+QMwZufUiWp5NM/sXlvdQC81+i/5Qep+O0IsIMVLw/B/PorGLCwg==","signatures":[{"sig":"MEYCIQDDcl4L+MggYDwq16e09DYJxI87IPH1ZrbCswgIeA3TgAIhAPgzZh9n6lIa3WsIK24FnAykUZ7V/7HvdgJ5uAVpf4D0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"a03cbe5c38073b4142696deaef61eee39487ab0a","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"4.2.0","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"7.10.0","dependencies":{"@turf/bbox":"^4.6.0","@turf/helpers":"^4.6.0","@turf/invariant":"^4.6.0"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.4","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.6.0.tgz_1501693081010_0.3124544033780694","host":"s3://npm-registry-packages"}},"4.7.0":{"name":"@turf/linestring-to-polygon","version":"4.7.0","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.7.0","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"e5cec1f421c090387eadfc0505d988e8128389a2","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.7.0.tgz","integrity":"sha512-/Rm7PKGdF5tLoUmbJR5JRVL6KO6cV221CENCTUmkaNUMJLkr8KUmsnWWL/bu+/wIzMOL1Lc47wNXHuamTDp35w==","signatures":[{"sig":"MEYCIQDtJrbrXL55BtXFaoHtx7AkluKvNsE+XwfRjcyKjNziMAIhAPsoV4sdSZDob4RuXUp0nNIh2rNqhrK1TmR/cRaaxvit","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"e5cec1f421c090387eadfc0505d988e8128389a2","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"3.10.10","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"6.11.2","dependencies":{"@turf/bbox":"4.7.0","@turf/helpers":"4.7.0","@turf/invariant":"4.7.0"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.4","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.7.0.tgz_1504625426889_0.2618831309955567","host":"s3://npm-registry-packages"}},"4.7.1":{"name":"@turf/linestring-to-polygon","version":"4.7.1","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.7.1","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"828d0d46c55ec6f14a5c9907ddb0ff3689dcb5a3","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.7.1.tgz","integrity":"sha512-v5butODhe1cXw+WxJPjhS6+R4j/HQj3moJFQw6E6B721V03w7Xx4vypXjBAWklST5Ul35FKG7K7AEad/+J2ViA==","signatures":[{"sig":"MEUCIQCIrEOf6nmI2oxn6X1YU7hwrj+ZN+JZdDmn4mHTCocHLAIgV/hX3BUHXqggJB73FgJlL7GuTcdbLXX+4cWaO3E3om4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"828d0d46c55ec6f14a5c9907ddb0ff3689dcb5a3","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"3.10.10","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"6.11.2","dependencies":{"@turf/bbox":"4.7.1","@turf/helpers":"4.7.1","@turf/invariant":"4.7.1"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.4","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.7.1.tgz_1504625785637_0.008020569570362568","host":"s3://npm-registry-packages"}},"4.7.3":{"name":"@turf/linestring-to-polygon","version":"4.7.3","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@4.7.3","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tmcw","email":"tom+npm@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"f45fef8c544d8b288f5ba58c2bae349a18fb597f","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-4.7.3.tgz","integrity":"sha512-RIvf9FOu7rUX19UsoCItamYDkO9k+sk8PrShfMF6ph8ecyT0qjX6Ec5Zoe0TTMuNNKfAbzdO1NEWgVU8HcopUQ==","signatures":[{"sig":"MEUCIDhj2lekxOU0D8OIcnN9mGjsRmpCFy0hf7Ly0QeN0C4CAiEApBEAWgT3j/lOPrClBrY6+3tH7kaXO/GCMm4qQTRwQgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"f45fef8c544d8b288f5ba58c2bae349a18fb597f","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"3.10.10","description":"turf linestring-to-polygon module","directories":{},"_nodeVersion":"6.11.2","dependencies":{"@turf/bbox":"^4.7.3","@turf/helpers":"^4.7.3","@turf/invariant":"^4.7.3"},"devDependencies":{"tape":"^4.6.3","benchmark":"^2.1.4","load-json-file":"^2.0.0","write-json-file":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-4.7.3.tgz_1505222509052_0.48036878486163914","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@turf/linestring-to-polygon","version":"5.0.0","keywords":["turf","gis"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/linestring-to-polygon@5.0.0","maintainers":[{"name":"deniscarriere","email":"carriere.denis@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tmcw","email":"tom@macwright.org"}],"contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"d8c33d879fcbc71224fd6a69d41978562d2005e8","tarball":"https://registry.npmjs.org/@turf/linestring-to-polygon/-/linestring-to-polygon-5.0.0.tgz","integrity":"sha512-aa04/85COcQ/XxmM7e1yBtnKxtca5Ag4zehI28P6kIHR2NbpOFsG/l2SKFcYoImydJ+2PedoE6zf3YJUNLItCQ==","signatures":[{"sig":"MEUCIQC998snF5RBX/M0wXUJkQTYE+Q+6kFRWNTA8TxDn7UcQQIgZi6FIGJyOpYDjsZClF/0WUYnsVi2TV0jrZtasVWw79Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2fJsCRA9TVsSAnZWagAAT0kP/0vw1zZ4/UPusVr7H6bc\noSUY1OhI4nMEDkpeEqtGGPtHwmkgdxlFJ4ozv95Da7SofP65th9Kp64VoWpb\nRJHF1WpJtK8+hgsi8tiqSPjchuKvljSvhWgupK487cfEh5Pu/myb9eGsRB84\nDXIzM+BLv3Iz/z9KAP/ej3IIjMLLPbeCYqCduVZUVV6saswBjUeN1ld9zD/b\ntSqZ3/pYNfhvbJsKLTYXzgJCvrkugkUrPyMcLcAhpKhnZYpibpFO05vV6gjt\nQ3Y2jSVeotq8R/H0rze9S18QpSpYUt0AxfiFPWIiHPqXx1dUStA0TXKH0HAJ\n61asFQ6gNBsVrlVefLlnfBPKrrx7i/FfW2A1IkSHZtEa/v4qdiMSITZawLiv\nnNBPznAqsI/HZtwJmGLehnBPaZKWzF1hDsOWT3JRCEWz52MHqA5ZoMpe/qOG\nuWWbcrQKtptc7fN7lxhjcupcKketyHt5KLQFmr/NVwIfLEueEb/ms3eDd3ZZ\nPRra3cpOjAD8qoQdyqXZT24sfq4kqhl3kw+CIfeeA0sY3IJkwmeK2pnddJeU\nEFmDhQ0vCvjpR/1JIFPEpZDnH/ptKF0t6Hf1MvliVQjDFN+Ui3U0i8LZA0/v\naNafuGZW6hR6U3TYfguALvKaAtckv6OApnPnJnC9dGRSgM23MukLH1JSMlL8\ncKK5\r\n=r6r7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"main","_from":".","files":["index.js","index.d.ts","main.js"],"types":"index.d.ts","module":"index","_shasum":"d8c33d879fcbc71224fd6a69d41978562d2005e8","scripts":{"test":"node -r @std/esm test.js","bench":"node -r @std/esm bench.js","pretest":"rollup -c ../../rollup.config.js","posttest":"uglifyjs main.js -o main.min.js"},"@std/esm":{"cjs":true,"esm":"js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"deprecated":"Module has been renamed to @turf/line-to-polygon","repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"3.10.10","description":"turf linestring-to-polygon module","directories":{},"jsnext:main":"index","_nodeVersion":"6.11.2","dependencies":{"@turf/bbox":"5.0.0","@turf/helpers":"5.0.0","@turf/invariant":"5.0.0"},"devDependencies":{"tape":"*","rollup":"*","@std/esm":"*","benchmark":"*","uglify-js":"*","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/linestring-to-polygon-5.0.0.tgz_1506915597820_0.48079848219640553","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-04-30T21:41:12.268Z","modified":"2026-05-17T00:23:39.759Z","4.0.0":"2017-04-30T21:41:12.268Z","4.2.0":"2017-04-30T21:47:22.234Z","4.3.0":"2017-05-12T02:05:07.161Z","4.4.0":"2017-06-06T01:52:57.332Z","4.5.1":"2017-06-30T17:07:36.996Z","4.5.2":"2017-06-30T17:23:42.622Z","4.6.0":"2017-08-02T16:58:01.079Z","4.7.0":"2017-09-05T15:30:26.979Z","4.7.1":"2017-09-05T15:36:25.779Z","4.7.3":"2017-09-12T13:21:49.138Z","5.0.0":"2017-10-02T03:39:57.894Z"},"bugs":{"url":"https://github.com/Turfjs/turf/issues"},"author":{"name":"Turf Authors"},"license":"MIT","homepage":"https://github.com/Turfjs/turf","keywords":["turf","gis"],"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"description":"turf linestring-to-polygon module","contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"maintainers":[{"email":"rowanwins@yahoo.com.au","name":"rowanwins"},{"email":"tom@macwright.com","name":"tmcw"},{"email":"morgan.herlocker@gmail.com","name":"morganherlocker"},{"email":"tim.channell@gmail.com","name":"tcql"},{"email":"mdfedderly@mdfedderly.com","name":"mdfedderly"},{"email":"tim.j.welch@gmail.com","name":"twelch"},{"email":"jamesmilner22@hotmail.com","name":"jamesmilneruk"},{"email":"morganherlocker@gmail.com","name":"morgan.herlocker"}],"readme":"# @turf/linestring-to-polygon\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## lineStringToPolygon\n\nConverts (Multi)LineString(s) to Polygon(s).\n\n**Parameters**\n\n-   `lines` **([FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects) \\| [Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;([LineString](http://geojson.org/geojson-spec.html#linestring) \\| [MultiLineString](http://geojson.org/geojson-spec.html#multilinestring))>)** Features to convert\n-   `properties` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)?** translates GeoJSON properties to Feature\n-   `autoComplete` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** auto complete linestrings (matches first & last coordinates) (optional, default `true`)\n-   `orderCoords` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** sorts linestrings to place outer ring at the first position of the coordinates (optional, default `true`)\n\n**Examples**\n\n```javascript\nvar line = turf.lineString([[125, -30], [145, -30], [145, -20], [125, -20], [125, -30]]);\n\nvar polygon = turf.lineStringToPolygon(line);\n\n//addToMap\nvar addToMap = [polygon];\n```\n\nReturns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;([Polygon](http://geojson.org/geojson-spec.html#polygon) \\| [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon))>** converted to Polygons\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/linestring-to-polygon\n```\n\nOr install the Turf module that includes it as a function:\n\n```sh\n$ npm install @turf/turf\n```\n","readmeFilename":"README.md"}