{"name":"@turf/explode","version":"6.2.0-alpha.2","keywords":["turf","geojson","geospatial","coordinates"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/explode@6.2.0-alpha.2","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"dd6eb9175008c3bd3be0dd3a1d5f1c264402838b","tarball":"http://registry-npm.ywwl.com/@turf/explode/download/@turf/explode-6.2.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-RTMNdMso2GWH6XJW56cc99FJrufNMwoY+ivVAZpTqHnr46gWe04OHq/7DkXXxU3i3t+c67rmME5A1guTUkxbog==","signatures":[{"sig":"MEUCIGLd7gil7UlhBB+7m3uFlht8z6obn/hBrdeu7IMbuzhsAiEAx+BBjy/lfJS2g482BuCzI3cl7jeA5pv0YoY/YZj7iaU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDHJPCRA9TVsSAnZWagAAyOcP/ArXGrYPF0QX6vMqF2qH\nP7RkCsd/8uuPGlylYc8FXaX0k+J2ckw0Keni9W3mFGvEbktzHUYOqNQxHkPc\n5Pc0yVih2agXKJkqosaQ/MhVYJkGhIh6Hq19AoJXqFkIRQ32/1MrOT+fWFhC\njqg5LHZO6kNcaSDuvZCXnoaInPXBqyOHOV5H1PNoAS4HY/PvoQV6wmkKV2dd\nAVhLeuqljS6YovOC6no39HhQuX2JurRaisvSLAfr2iCcTp2dvvvaE+xKn+qg\nua3/Oki221F2DZgR18tIhlQL/1VnewtLPIJCBnr6VAJwW93t2lv2h8B3FJCG\nVRE5HEmfWKo4jniAtkT1OCjmE2Pqsda27pwUu2/k64Z2Yz2i98q2DUI2u+Vh\nFeQGn23kWO10eRXkgYWj2t/J+5iXP9LgqnSKAGdo2pjYiyWQXdqMCPqpIYII\n4abS950VU+8qxBl5t+PoDGbFT7fGFHc14VA3sE8Ctl7U4fixz14lfiB2c6zm\n+/FJlXqXjcdo+F3TkljNLTId2sGJP3AbXvp3kJw7WUMYnjQTd9nYnssnUjtc\nv3Oz/fVOsy4HslpiG0KcS5V2NJOHU3bPMRExDXci9i+PAS6t7MIAJ04AvJi5\nQhhfBuNhqzW920F1Aqqn7+KnkSjq2czQ3ChwCQsluFHXWlX3RuXqq2ozlCqr\nm0pT\r\n=vmvW\r\n-----END PGP SIGNATURE-----\r\n","size":2730,"noattachment":false,"key":"/@turf/explode/-/@turf/explode-6.2.0-alpha.2.tgz"},"main":"dist/js/index.js","types":"index.d.ts","module":"dist/es/index.js","gitHead":"23d5cb91d77e0c1e2e903a2252f525797f1d0d09","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.2","@turf/helpers":"^6.2.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","rollup":"*","benchmark":"*","npm-run-all":"*","load-json-file":"*","write-json-file":"*","geojson-fixtures":"*"},"_npmOperationalInternal":{"tmp":"tmp/explode_6.2.0-alpha.2_1594651215476_0.7495261067560297","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":1594651215603,"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":1594651215603,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}