{"name":"@turf/explode","version":"5.0.4","keywords":["turf","geojson","geospatial","coordinates"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/explode@5.0.4","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"4eee4ea12d8bd340ecaab9415888814d20e95b89","tarball":"http://registry-npm.ywwl.com/@turf/explode/download/@turf/explode-5.0.4.tgz","integrity":"sha512-XJx7gRWd7Ro7DWADh7DiXGO0S1HgZAdN+Sv+GPTgNrUzQC5JbB8ZLCjywpf2hETaxXSyzzg7eg+/rgOoVawx2Q==","signatures":[{"sig":"MEUCIQDfBpQ143GXjRIbDKymH7ApMT8QK50ozTxjINVaazAV/AIgVO5aV0zWpGxb7Oe/kdVyceSfWoj8H9MAcogyrtgOWfA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2538,"noattachment":false,"key":"/@turf/explode/-/@turf/explode-5.0.4.tgz"},"main":"main","_from":".","files":["index.js","index.d.ts","main.js"],"types":"index.d.ts","module":"index","_shasum":"4eee4ea12d8bd340ecaab9415888814d20e95b89","scripts":{"test":"node -r @std/esm test.js","bench":"node -r @std/esm bench.js","pretest":"rollup -c ../../rollup.config.js"},"@std/esm":{"cjs":true,"esm":"js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"3.10.10","description":"turf explode module","directories":{},"jsnext:main":"index","_nodeVersion":"6.11.2","dependencies":{"@turf/meta":"^5.0.4","@turf/helpers":"^5.0.4"},"devDependencies":{"tape":"*","rollup":"*","@std/esm":"*","benchmark":"*","load-json-file":"*","write-json-file":"*","geojson-fixtures":"*"},"_npmOperationalInternal":{"tmp":"tmp/explode-5.0.4.tgz_1510249708083_0.3169442103244364","host":"s3://npm-registry-packages"},"readme":"# @turf/explode\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## explode\n\nTakes a feature or set of features and returns all positions as [points][1].\n\n### Parameters\n\n*   `geojson` **[GeoJSON][2]** input features\n\n### Examples\n\n```javascript\nvar polygon = turf.polygon([[[-81, 41], [-88, 36], [-84, 31], [-80, 33], [-77, 39], [-81, 41]]]);\n\nvar explode = turf.explode(polygon);\n\n//addToMap\nvar addToMap = [polygon, explode]\n```\n\n*   Throws **[Error][3]** if it encounters an unknown geometry type\n\nReturns **[FeatureCollection][4]\\<point>** points representing the exploded input features\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1.2\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error\n\n[4]: https://tools.ietf.org/html/rfc7946#section-3.3\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/explode\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":1510249708201,"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":1510249708201,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}