{"name":"@turf/explode","version":"7.0.0-alpha.0","keywords":["turf","geojson","geospatial","coordinates"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/explode@7.0.0-alpha.0","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"d00d0cf606a2d22d351c274f5894b1a321354e2d","tarball":"http://registry-npm.ywwl.com/@turf/explode/download/@turf/explode-7.0.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-L35QYT2OnjuwrPZdf9Nh37LR5cKm8dBnmkbQw+Ik60RHr3GZI5kywg9YOvCYjNPtY8PBZNRfWYHNQrgwPoNwOQ==","signatures":[{"sig":"MEYCIQClJEMuQAQ4+B1uJn+Fkpv9Mt2M3hHBiKLsTbGox4eGVAIhANXaMDdOOCN9j9n6dt5r59QlSigGzQfl1D6V+wm+trzM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja8OpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsUQ//fJ4j6KWQfVfGbEIYta5649o2jv9CGuWiCZe+tZ/hRl5ujYG/\r\nopX4U7NoVY7C1GLJS71oZIrYCCClhvyIT5HO7eRjW7+GHcjvUk5/l42u+jgy\r\np9I3Q3q1qHo2LONtMDZ6Joim1584bTy5RijaFkFAi+eUpJfHn9ZwF7POh5eS\r\n+MC3HnJVaMVB8hcGCA+z4kl1C/HH3ycr8TtU/ys4KMAX+93IehT7oBqDKsi7\r\nu5hGVIXPPaZNgKarIhhXOJ6nwFcL7XI4k8HMyAovD9qEhUhYfl/pj7y92fWe\r\n6v+QMDcJr0zUfS3sVm4RvlV+VgH8zeQRxG+1ARmcgph0EXFl04tiyindTTV0\r\n2Ya0ymMeJjrPRfhQooB+N/x1zBdksPY+WIMuiFD/A6tMwFHuVZxA4Fv6Dshi\r\nJNV5XeLs11yBt3BmTi6aHh8LoieGtKrFGc5FjpMdije0j/NtTuyR45kculej\r\npRvB79MofyAKNYkEJIdmpr53LUydmkSJwp5TFb6AwdkbovTLZhbBU62z3Jbc\r\nw/Ac8HjWBQ1U0Fm1+VTLcDRejDfKGD0SMipG0+Q28ZvPAvAjuCIKIxefvahy\r\nJm4FeOZfEbQqyCLttR95HplQGnAPbkD9xym3sEuOBrhhJrByiQFKbMBRHebb\r\nv20dJoMcyIQO1M3J/x04C3pXO5wqtTy0oYE=\r\n=7uuG\r\n-----END PGP SIGNATURE-----\r\n","size":2734,"noattachment":false,"key":"/@turf/explode/-/@turf/explode-7.0.0-alpha.0.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"},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"0edc4c491b999e5ace770a61e1cf549f7c004189","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","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/4.0.0/node@v19.0.1+arm64 (darwin)","description":"turf explode module","directories":{},"sideEffects":false,"_nodeVersion":"19.0.1","dependencies":{"@turf/meta":"^7.0.0-alpha.0","@turf/helpers":"^7.0.0-alpha.0"},"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_7.0.0-alpha.0_1668006825384_0.20281965880724262","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":1668006825503,"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":1668006825503,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}