{"name":"@turf/explode","version":"6.2.0-alpha.0","keywords":["turf","geojson","geospatial","coordinates"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/explode@6.2.0-alpha.0","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"65f260711d078655576574adcd229b5da21bb485","tarball":"http://registry-npm.ywwl.com/@turf/explode/download/@turf/explode-6.2.0-alpha.0.tgz","fileCount":8,"integrity":"sha512-v8lY1xzkMLTEoVjkOKQMNV7WOjuIMAOjFKBpCp+KXh6gpwB+rNdHg56AGTQzxZvSpq94mD9buPxRcCPqx1SiOQ==","signatures":[{"sig":"MEYCIQD/mJqpbqhIimQTlMK42ngnVcCfq7rk4AkSJxow8pA03AIhAKooA7vcHpUN8GU2Mvfuou6Bi79PeK/sPbbPU8msjKWI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefS4vCRA9TVsSAnZWagAA96wP/0+4n7Nk3OAS1MUnEokj\nwB2qwu5aa0KmKi11enarJLML+4i63l5prOR3eFWrcXdjxy7I3mwhAG74C5MR\nAfuhLAMmuLqVp3Z0m0k5zm3WNf4UXeLWtt7gZW2brfnXz1hbLra0F/bQcgg+\nNoOdR2FMVmNN8WNb+XbzSAjHfDXOxD00jh3eyY9U73SHQIeMtRQySDlgEFex\netsd7cZs/0QlEGRfMwyN4ePvwB5bds81rIQtp9ci+EBZMdFzt1S8Bsr+EDhz\nd8TZNuQJ2rnjUMhbR/m832jApIp0JH9jYTnT81RQRo2ETH9ScF8huJj1k1G8\nzc5y42+tdwZJOrtn3sbVF/Ih3+WpuKP4A+id/c2EB4N7+ZIvRdUTdkf+DHah\nYnuoOib4i+MW0sbBxowApcKPUcwGNoZnK/FV6kNR/E27c362sHkeos//moij\n0pqSIvtSNsOGa9sAfptR3y8hWje8KkdrAZ2lB+laXJQ0ebF6KGjvWSLVlVSU\npvuBm4rBXZSJeBbscQ0XcQyZhyFraYHgTSXghKpWIOhBxfflpgAGIg3dVwff\n42DCgJ+gMMtcKoO7/ZqNmUynZDO9cR+plwETogw1+tubY0xG5FeYDU7ServT\nY5Ito3GvpQuiZj7QoJiyJmh8M4LnyKihG3TEdCKFXHJsMjJ14VFLjv9GKb6U\nzHdp\r\n=hdX6\r\n-----END PGP SIGNATURE-----\r\n","size":2701,"noattachment":false,"key":"/@turf/explode/-/@turf/explode-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 explode module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/meta":"^6.2.0-alpha.0","@turf/helpers":"^6.2.0-alpha.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","rollup":"*","benchmark":"*","load-json-file":"*","write-json-file":"*","geojson-fixtures":"*"},"_npmOperationalInternal":{"tmp":"tmp/explode_6.2.0-alpha.0_1585262127380_0.08710232645832727","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":1585262127498,"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":1585262127498,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}