{"_id":"react-keyed-flatten-children","_rev":"22-060864ccd9856bc17ab1261837792482","name":"react-keyed-flatten-children","dist-tags":{"latest":"5.1.3"},"versions":{"1.0.0":{"name":"react-keyed-flatten-children","version":"1.0.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@1.0.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"ef26e5d891b3fd5f1018b49ee1af401ca0618ee6","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-1.0.0.tgz","fileCount":5,"integrity":"sha512-P8ZMrhMP4YOYVSx7EvfNksux7oCwCXjof5i6MaLESo/GHmTI8IQwwIY9LAgtGwM5xqxLJw2+pwGnzsnb0q1asg==","signatures":[{"sig":"MEUCIQCBqBwowereDIvl8ZBCXitSvoiv4sBZpmSshF73k7Z7fAIgXE4XfYHDpyK5xSMVCNsbafudNz2JdLW+ea84ZoXiYJo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1PztCRA9TVsSAnZWagAA2H8P/A/zJvPBOfmFzL6n0jB5\nwZmUAspXy7gGfZBXrsamM2MCEulLEx0TbVTD8RuQd1sg81H8S83wS0mFFxeN\njLuK8spzrS1OYuhPXpMEbTAX/DmjXHpca67Cip2AFwS3QiWFqFd29QPZCGAP\nr7cQB5LewdqfduFUvYqNJwsDImZD/UjfJbR99JQ8ev2YXMXHAd8NXIpGiO/2\nYlhNbU1YchDRGylUV1QTSOq0pCMS6YpucAC9Yqnd9CiPFrcjLYTPhNvzL27b\n6EEvoVz/Y1Inlvj0KXXthXToUpqkmzEVKtS36B1xsN+8AV9P4go4ZgVCsNLp\nFVH9yIY8MSCUzNK65e/vZYY6QNoa25Ku1mFjW7uC7GiF8E6vSiUqXKqdB8dO\n6pT+mhFAb56pYkimKPyrw6Q7LFm30xno5TP76BC08JtSnMkVy2sMyQ/+mRV2\nBY3mwVUEW8Vre1RHTHI8SD4y1hAiHzXpShEf8jEd2muH22GDSeDG8HR/ZbY4\n84OMSqBYB0eQeSg45NY/C9P6zzo9qeoea7pAjegxzqGszIrn/BKVQhFLtwAw\nbjpDXO9Pc+VYZ0caFN9yVECvr3CnQB7wwuZVtEZldtffi+B3Q8NdMPv+S1/2\nm84zxcEmRjRb0r0Yc9fGs6rNRxXApTYMDBwDFUnvVpk/lONvnocjSYKVxcTv\nM2ZI\r\n=13kX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4e9fe4773789c79d401f5abb5a40b1077a05e0dc","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"6.9.0","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"12.4.0","dependencies":{"react-is":"^16.8.6"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.11.0","react":"^16.12.00","ts-node":"^8.5.2","prettier":"^1.19.1","typescript":"^3.7.2","@types/tape":"^4.2.33","@types/react":"^16.9.11","@types/react-is":"^16.7.1","react-test-renderer":"^16.12.0","@types/react-test-renderer":"^16.9.1"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_1.0.0_1574239468690_0.8615838891906991","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"react-keyed-flatten-children","version":"1.0.1","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@1.0.1","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"42b6b2977e79d53fa3b84583ea0115de77c87a5d","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-1.0.1.tgz","fileCount":6,"integrity":"sha512-yES0XSLY7ZHc0rXw5j7MIiZEUw6TAh1erX45DLujuUMRrB8n3CHb8lwAQvgDh8NkecLCtYSvJ268WKdY+uI0Hw==","signatures":[{"sig":"MEYCIQCFk3DhZzdY/K4tXBmduBJzT7YnSvRQoNefxCXkfZ2C0QIhAPdy9/xwz0xzMUgT2rDkDKTgYnA+Q7aPTsmV1rFKr5GU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1P0uCRA9TVsSAnZWagAAJVIQAKSF6yN0+NETdUDND8Ae\naZgLT/QTEayf6Bs7qFwPEbbJA5zaLmP8ttjbojzrs69qxdfYcwHVUEbGT6yE\ncvHbdi+A+uf7Vp7nSBY8RKtyEuzf5NPT0M+AyyTtoaM2UI/YNRRY6kL5kleH\njIy3b7qwuZMfYqwslC4aUov7xB7TuOP9ommMH1TWfvgPnGS+J7M1BQxXvsfM\nbGABBBMGxxK5CVVs9tz1F4F55A3W995nnBglqqvPQX4/RZdw7oGKEFHb5h5U\nHNaMsx/MPp+xJC35GvltbHiLrno+FQodtPk3zOVazSwr6m5/53u9aCUmt3d9\neNCp3pdBN6/sMgVQfOv34rlenl5mEdYAoJz0XRRbR2+MlPhe1qAD+N+p+AcI\n2R12YlxcpIU43ErqzX0cpRUd0A8NCFkd2ItjdxkhOL5QA9a8nBoDQOSy+l/5\nG4mgRfngIped7h/fRSuq+n90y9L9WANk1oE/Hk8MzDxVIjVSRVPmKBlM9t45\nRYrL7oqgm1TxjuBfG2Vsx0j7+ObNPedSc9VOKdQNvP1e9KAFP2iVNSsgqPFe\niYRKxdm1RrZcy/k8nYyx4iSEsPgMIaAw44VNLJzb9+AdTJ76Hoa0zNdpVSRS\nWzPxiWXkvQMWZkvfAHVpcFF/o39DC6K1OXyCcNQIp7Cw0XVkC82NOdJaBkY5\nZyz4\r\n=ZaU+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e5b98826f2f4d7c3d2dda43d9358a9e98a754787","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"6.9.0","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"12.4.0","dependencies":{"react-is":"^16.8.6"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.11.0","react":"^16.12.00","ts-node":"^8.5.2","prettier":"^1.19.1","typescript":"^3.7.2","@types/tape":"^4.2.33","@types/react":"^16.9.11","@types/react-is":"^16.7.1","react-test-renderer":"^16.12.0","@types/react-test-renderer":"^16.9.1"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_1.0.1_1574239534197_0.9585884802024329","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"react-keyed-flatten-children","version":"1.1.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@1.1.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"1d9a1eb6aa9df5e90e3f71e31cade2fc616fee65","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-1.1.0.tgz","fileCount":7,"integrity":"sha512-zxuTMn0NrxsMyX0oX1DOUz4sgLwRjeubrQCLlaePSbWP0DyiZ7A17uWQdlnkuM4d0lZ6sVvCIwOcS/EzcBF1CA==","signatures":[{"sig":"MEUCIQD9dNIne3UQWfGQgHH5mAaExqKmtgc3HnmP7VD5wtllnAIgFnb2vR6JhdnEFRJclmYMSQyAPqTtyarigLL6ShT23Ac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd18WYCRA9TVsSAnZWagAAHU8P/2sDQTBlFpy6qf9iyM3Z\nv8eHI544uiv3CvpOwQdEXaJTv/bglobHF7qFOMc250GBTi2dR6lHdBOtVn0d\nYtlY+SpR/okdYaIQolMKnU0Irl4nNiy3QW51tFBcbROZBaNaOLpDOp4EIAHE\nX9uarZ04pTWyLpUckAyZYJ70ZNb3rZJyrwGtP5wXvN9+szw8KjwNSKMB3l/V\nh09tYhWcewJYYBfTKyxQydSIyWn9mzeJOjlDzFJUXphsjWKp8E+0pxabGwmq\nO7KF8V6V1A8QLTPyOF4W30OHzRdsyXRrFRFryRXDsI7zUUWnM/MvbzmU0D7L\neyggxQ/53W1AMIxdJi8bogRwnmqWKRhLs8fw8oZttZ+RdZVbIsAG6VNKo/us\nXo/SV17bj+0NHaKCmOm2O6Ydow4LNqMrlGXyO674lVrtKscdG5c/CxQfWubR\ndOhlaDLMQj5H+RfJJrOza3+j2G0NfPtnL5n0FdIb2/1XZt69N3MUcP1qvq/n\nyshrHn2jciHf+WVQHVQ4VsWwjmMzIQBFp/qyXUN/5itK4uSKUlpYITSa8Zf4\nNGDUN2B9Ur4gh3RgFFtkB5AJzUMmpftKEXpu0yEM3ZzkC9u9PGcFQXlMn8Tp\n6hpI2gosXw+wQD10YAhEu3On19R9sliKCBPvHqBjWNx7iR1OohTvGxDhadDv\n6eQl\r\n=CktH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7a22d157c98eace0f12b0861efde772d5fea8bea","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"6.10.2","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"12.8.0","dependencies":{"react-is":"^16.8.6"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.11.0","react":"^16.12.00","ts-node":"^8.5.2","prettier":"^1.19.1","typescript":"^3.7.2","@types/tape":"^4.2.33","@types/react":"^16.9.11","@types/react-is":"^16.7.1","react-test-renderer":"^16.12.0","@types/react-test-renderer":"^16.9.1"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_1.1.0_1574421911615_0.3107154766704099","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"react-keyed-flatten-children","version":"1.2.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@1.2.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"44c741f9f5acca1a7294c3f7a11f1d31c417c1e1","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-1.2.0.tgz","fileCount":6,"integrity":"sha512-gJoD3br3tK59+AOKlzb+7G39YtkSC4gWjQjDbWOmHjW7pxgYomnRBemKXuNBafnPYSKpjp7evOlxtGEHwiP11g==","signatures":[{"sig":"MEQCIErItr+9wqly1VzQgHkmaL2wJfGBkdEKQC24ejzG9ShoAiADpwFvLnKy9A+X2x1UJvQ5zuBO4goZBXetwHY39iLEzA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeN4rGCRA9TVsSAnZWagAAmJ0P/RHxV0MJ88FqSmcvyDwC\nxM0JGT3IvLT783GiDbQpwLIwOQ5JX/O6JPZ61cNQPcvExcty8Vh5Q/ePLwsg\numrFOsh4mtuid6DpXMIiiVhERiiHh9Z3mlq+DJlpFQcsz8rolsS3m7XrlmPv\npShVv4ro0ZwOPrEJVigAhc3AZitV9W5busv0AB0gi7T4HlY19vK8tqmFOGMY\nyuidCF3VHjBQ0w1TEN8G2n4mS6m+dO+L6s5CFvr8p2BTVKK38lyR+y3N06SN\no3CvRFCq6wvO1PWHE4GXaTD0hrNptLXAYCcO53vDTRqJ//hkvrMhWU39lIou\nkXJN+ESuE40HJKf40NbWgVLozlXpMiohbP0wkm84pXg52ThXmjDd7jLl9Q2v\nj1lsyPCSiNHqV1iqzLy2rHBNSLm+oTTCFisnN68tUr71tVHJrQn8Qs7pGRdK\nA2+BdGhZeP4VyrrYOefLZmDtub778xy0d/Hl093eBfF6yobggtGi6cVKqhKz\niKZpy4ZfSSqzNZB/qU3YETxuj1h1uAAIWrd++nxALFwCLji39HeLGfz536Z2\naUCz1Z+x0LPbJdwALqxp5aVIgbvXYhPlRuZhnQdtzjIu5qv3l4Cvl3c4kjY4\ndMyB6GP8WjAyVc3aReE8PkETOimic1DZFEqeTpIHcnxPbx/EupklmT2ME0JV\nML62\r\n=c8Bc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"08bfe98bb795a5696a03afd6ccbbb95837e645df","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"6.13.6","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"13.7.0","dependencies":{"react-is":"^16.8.6"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.11.0","react":"^16.12.00","ts-node":"^8.5.2","prettier":"^1.19.1","typescript":"^3.7.2","@types/tape":"^4.2.33","@types/react":"^16.9.11","@types/react-is":"^16.7.1","react-test-renderer":"^16.12.0","@types/react-test-renderer":"^16.9.1"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_1.2.0_1580698309925_0.4412931993650113","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"react-keyed-flatten-children","version":"1.3.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@1.3.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"38d171582c6358909f430648a7a7d094aebae42a","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-1.3.0.tgz","fileCount":6,"integrity":"sha512-qB7A6n+NHU0x88qTZGAJw6dsqwI941jcRPBB640c/CyWqjPQQ+YUmXOuzPziuHb7iqplM3xksWAbGYwkQT0tXA==","signatures":[{"sig":"MEUCIESmt/p7+Q2+/2JPbdbPqYqvtZiuriHjFT1oX3UhG94eAiEA7rOKJcTDqoK2yUk9rodfAqKcbwee6yV1Z+k3++IcAAA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKMgoCRA9TVsSAnZWagAAJ7YP/jPASA6Mm49W9g2BDH/t\nrco5lEifRqgxLF+e+Ere9uF/T0rUH2mVKlBoLkACRgzyUtZfmjY7s37XweC4\ntEAq6Ae1AA41ZHDNVhIQ+ov5X3EiBONzWJ1MmvK2DQTw8fjSxbQCeyrGrZ+6\nAPZ8jrs0fEkQFphxvVDk0uaFlOBKKD9YUhzgK8ChP7WkAuBu/thOKlSPw6Da\nUV0dB97Gjtzl723PBfqm63I9I2KAozP1Jqt6X4+pvRxlfke7XppWjb1BSpds\nE2V3S+4wDNgWFusCEguI1f7Dl7x6NWgQY9/dCgVCxNmBKnVTq62G+YuPWko6\nguQETuKC7oi6iaPpdhYBbqgGLDVrYmhNMtQ8IGr46FKftnc4sdSm2+rLj/fM\nTEfZqLfRKb7TEXtq+kPbnslJWEDCSveg53E+Ve6GjRd8Orzw0STKExsYds4o\nlYP35bG/gCNoLXtd5VsXVu6rUCEcWUz5rYLXuWnrwn514re1bGITjTljUnD2\n2AWDm3lxdQouqpLBvz1NzAUYYQ9q2CgjPB6nJ8VLrJxeTEox13DVa36+CnYx\nggMuOJq8SjM+ncWraAdlf+HBbxTtmK4IV3s1dk+Tiyi810siRZs+P1vOTytP\nDAyj6zugO1F9IBTLRdHxsy9j5RvvZDWTOlSCDUWSHeeFu16SIzJluUrqrDKh\ne76l\r\n=Tzsj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b39eb00b0115ae6a202b426893db87efb368d5a4","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"6.14.4","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"12.16.3","dependencies":{"react-is":"^16.8.6"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.11.0","react":"^16.12.00","ts-node":"^8.5.2","prettier":"^1.19.1","typescript":"^3.9.7","@types/tape":"^4.2.33","@types/react":"^16.9.11","@types/react-is":"^16.7.1","react-test-renderer":"^16.12.0","@types/react-test-renderer":"^16.9.1"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_1.3.0_1596508199905_0.9097405407063162","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"react-keyed-flatten-children","version":"2.0.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@2.0.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"f3a2d96128cd5fba17544ff7f1e3c8f426d9ecd4","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-2.0.0.tgz","fileCount":3,"integrity":"sha512-A70VR/SP+rlaaauuzYlhGhcL5IMyj7uaKGC6o463rXJu+Ox/FSprNBAbVRlHhsK2Mv3BVI4EM6738kHDYHAZLQ==","signatures":[{"sig":"MEQCIGo6hbPKJrNeD7NFow3Bi3Po9IC490MTvdVWzxRruew+AiABUZk1wL3vyFgOTaAb2M/OJRh7rxgQLAZgzlrSIrFgug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6765},"main":"./dist/cjs/index.js","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"1a5066cb12e77ce922231baec0bef67e91a30ad0","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc -b tsconfig.cjs.json tsconfig.esm.json","prebuild":"rm -rf ./dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"9.5.1","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"18.16.0","dependencies":{"react-is":"^16.8.6"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.11.0","react":"^16.12.00","ts-node":"^8.5.2","prettier":"^1.19.1","typescript":"^3.9.7","@types/tape":"^4.2.33","@types/react":"^16.9.11","@types/react-is":"^16.7.1","react-test-renderer":"^16.12.0","@types/react-test-renderer":"^16.9.1"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_2.0.0_1684987542529_0.027194587743891052","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"react-keyed-flatten-children","version":"2.1.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@2.1.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"f385fc085c3c2518b177754c7793f3ee12bb02d7","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-2.1.0.tgz","fileCount":3,"integrity":"sha512-aBzKv7ysZeknMCLx/vy8FrNbTxAHYs8+ez+YQB3bNAj/f7RmYSy7CS7pXtE7n4jDMTkx5u6k+pSVlR1fviWQVQ==","signatures":[{"sig":"MEQCIE6LP5hWW5rB8kJ46tVRZ8ybIjtjqk5gjUsL1SQhQpRPAiA1s1EPvS1u+Y+KXYXu4FyjNEIzV4QZbUqRaGm2394XIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6791},"main":"./dist/cjs/index.js","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"73d304600a6db1a7947babd5b6795b309a72bbc0","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc -b tsconfig.cjs.json tsconfig.esm.json","prebuild":"rm -rf ./dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"9.5.1","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"18.16.0","dependencies":{"react-is":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.6.3","react":"^18.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.6.0","@types/react":"^18.2.7","@types/react-is":"^18.2.0","react-test-renderer":"^18.2.0","@types/react-test-renderer":"^18.0.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_2.1.0_1684988901324_0.2719160337824913","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"react-keyed-flatten-children","version":"2.2.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@2.2.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"531ec0e820264e270a392f4f6768faa0740243ee","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-2.2.0.tgz","fileCount":7,"integrity":"sha512-pi1Wak55r6qEaxuApL1dv6yhpDMn7gHJc43aPsKfhT2Qn3htRr+4+m1g/8WbsbLOdlg2yqwWEpi2y0LXn+AP3w==","signatures":[{"sig":"MEUCIQDIe0H4jr3hSSRaHqfcVImSIEbt8e/yJiJybb05RiAH4QIgAZGNxgSuHMmnzUhVpU9e6sek6RWp2u9wgSnPMx5dcVs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9062},"main":"./dist/cjs/index.js","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"66f37479c00e5b006d1ea3b204b11a7210745ffb","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc -b tsconfig.cjs.json tsconfig.esm.json","prebuild":"rm -rf ./dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"9.5.1","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"18.16.0","dependencies":{"react-is":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.6.3","react":"^18.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.6.0","@types/react":"^18.2.7","@types/react-is":"^18.2.0","react-test-renderer":"^18.2.0","@types/react-test-renderer":"^18.0.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_2.2.0_1685333705580_0.40265626552837763","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"react-keyed-flatten-children","version":"2.2.1","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@2.2.1","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"39cbf8fede2620adc07ff5c8cdedc7548a97fbd5","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-2.2.1.tgz","fileCount":7,"integrity":"sha512-6yBLVO6suN8c/OcJk1mzIrUHdeEzf5rtRVBhxEXAHO49D7SlJ70cG4xrSJrBIAG7MMeQ+H/T151mM2dRDNnFaA==","signatures":[{"sig":"MEQCIAxzL1/usAQ+ZQ/Xv+E/vH8lJvfPwZ2T0K68ltY5SMP/AiAwTIWG7j2urnzCXtiZYnlkCKOuJr2fWRm7lkoGQeQPDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9030},"main":"./dist/cjs/index.js","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"e07511b866d32091242af462d301992841815ac2","scripts":{"test":"ts-node node_modules/tape/bin/tape *.spec.tsx","build":"tsc -b tsconfig.cjs.json tsconfig.esm.json","prebuild":"rm -rf ./dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"9.5.1","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"18.16.0","dependencies":{"react-is":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.6.3","react":"^18.2.0","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.6.0","@types/react":"^18.2.7","@types/react-is":"^18.2.0","react-test-renderer":"^18.2.0","@types/react-test-renderer":"^18.0.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_2.2.1_1685421179873_0.8815318361696567","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"react-keyed-flatten-children","version":"3.0.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@3.0.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","dist":{"shasum":"b6ad0bde437d3ab86c8af3a1902d164be2a29d67","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-3.0.0.tgz","fileCount":12,"integrity":"sha512-tSH6gvOyQjt3qtjG+kU9sTypclL1672yjpVufcE3aHNM0FhvjBUQZqsb/awIux4zEuVC3k/DP4p0GdTT/QUt/Q==","signatures":[{"sig":"MEUCIQCGkZOz7yQm8b7LfNr3A+18Pk68GSNxReWQSagiNOJl5QIgDFWo+jUcPnTykQGJhIg9ztiEdWAcf1LbCoin6tZok84=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10157},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 Tom McKenzie <tom@chillidonut.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"react-is":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.7.0","tsup":"^7.2.0","react":"^18.2.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.6.0","@types/react":"^18.2.7","@types/react-is":"^18.2.0","react-test-renderer":"^18.2.0","@types/react-test-renderer":"^18.0.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_3.0.0_1699841823094_0.7821216059500169","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"react-keyed-flatten-children","version":"3.0.1","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@3.0.1","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"3cfb2d526080a4192e51067af131a62e19cd96d0","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-3.0.1.tgz","fileCount":7,"integrity":"sha512-2qkrPotuAqaEyjyz3+5BXLrb+ClOh83Hc46K86x8ut8fVepd5zeC1U/7uGxuBJ6h4F/xOYwM7Z5DHgD/2n195w==","signatures":[{"sig":"MEUCICVzSdXOoqaG/P/SdQ9ZbDQMNTMNQ1+OYosW29sKv6rCAiEAsNRXFaOoLpyuhCqA6JKkXsAhCkUYpTPCO3igmCfFnM0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8987},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"96725cf500cbb69e53fae204df6f137dcd99d73d","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"10.2.4","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"20.11.0","dependencies":{"react-is":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.7.0","tsup":"^7.2.0","react":"^18.2.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.6.0","@types/react":"^18.2.7","@types/react-is":"^18.2.0","react-test-renderer":"^18.2.0","@types/react-test-renderer":"^18.0.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_3.0.1_1725679810898_0.05867995312639529","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"react-keyed-flatten-children","version":"3.0.2","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@3.0.2","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"0a2e930123455e0aa3d2b7c75c382ea95d1d2122","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-3.0.2.tgz","fileCount":7,"integrity":"sha512-5oiw2x9QlCSOTeAerw72e3ij0P+kJ60A7mtHvpabbOc4j3mvVQB3YpXCy2Qt/0YOuDWvAq3w/cGRuO7G20KISQ==","signatures":[{"sig":"MEUCIHYLhMjjCfo93xBvPp639vkfz4Uzepgph+hh1S/IaZdfAiEAxZZaUL/FtUk/gKbapm9xZw1uov9bMyCVj7MqJqB5iZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8987},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ad261e9683f5b8b85a1054f2d4cd39c5f8ddf410","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"10.2.4","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"20.11.0","dependencies":{"react-is":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.7.0","tsup":"^7.2.0","react":"^18.2.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.6.0","@types/react":"^18.2.7","@types/react-is":"^18.2.0","react-test-renderer":"^18.2.0","@types/react-test-renderer":"^18.0.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_3.0.2_1725680056884_0.9392719442718975","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"react-keyed-flatten-children","version":"3.1.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@3.1.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"aac42c43e16a012a4e50e2aba090a4932491dbb6","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-3.1.0.tgz","fileCount":7,"integrity":"sha512-X09bJRKFn3utWMtLCun2kWKTC2WXNur8sJRl0cJccWmOa+xSPrZOdUdHvFJfsrLPWCqwFydCSGNiawS/4g1RPw==","signatures":[{"sig":"MEQCIG29hfl2YbqRZI3q1rC3ZKD3BIFCn/D9S66ZzlSKvBMlAiBW5YxgJ5Myw+UINCEipp7kSXbeG5rfJAQo6E9/uR2zNw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9174},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5f160cb92edab4e9b73cc44d5367d103e10cd608","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"10.2.4","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"20.11.0","dependencies":{"react-is":"^19.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.9.0","tsup":"^7.2.0","jsdom":"^26.0.0","react":"^19.0.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.8.1","@types/react":"^19.0.7","jsdom-global":"^3.0.2","@types/react-is":"^19.0.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_3.1.0_1737329712369_0.1912219086008924","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"react-keyed-flatten-children","version":"3.2.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@3.2.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"8d4cf4308a4b8c95686b41ac8cb8974e65755cfc","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-3.2.0.tgz","fileCount":7,"integrity":"sha512-KvY8Z4o/438cInm0XUWJemZmj5XhSV9ULlyxRrhHbjU+ShXPScwIY7fkeZOcGpfvfaxVOUj+qGy4uv84Ss4uaA==","signatures":[{"sig":"MEUCIQDYTy17IGa5xKv9lJCTVy+HSFiKb7MOl4fCK0dA0TJZMAIgNmmai0Bt9aRycsMv1/Bm3fU1Kep8UtV59wZtsSUYanQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9003},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f7f71dcfee99bf1daad7f889e1f11a1ff141f92d","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"10.2.4","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"20.11.0","dependencies":{"react-is":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.7.0","tsup":"^7.2.0","react":"^18.2.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.6.0","@types/react":"^18.2.7","@types/react-is":"^18.2.0","react-test-renderer":"^18.2.0","@types/react-test-renderer":"^18.0.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_3.2.0_1738128087331_0.2530384641738772","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"react-keyed-flatten-children","version":"4.0.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@4.0.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"b7a631e6ef9a831fee8d4fc666e2b378867edf61","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-4.0.0.tgz","fileCount":7,"integrity":"sha512-xb7iMnQzvsCu4FizP4eCy2gWTela8jwjDUKu2y7/PmAdLTG4newdsO06Sr4TBlD3KftpJvxXLgmI3THFUlTB2Q==","signatures":[{"sig":"MEQCIDshTaJLCfK/St8oBEVOiSJvhaaKCZUwzgSX9TYHxZfrAiAfUQcKxYEu1bhw4/RGAEQHP9OFyx/Tfbwn/ngbB49qhw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9324},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"7bd853da10e9fa85cc53a5128ecf59420835cd65","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"10.2.4","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"20.11.0","dependencies":{"react-is":"^19.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.9.0","tsup":"^7.2.0","jsdom":"^26.0.0","react":"^19.0.0","prettier":"^2.8.8","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.8.1","@types/react":"^19.0.7","jsdom-global":"^3.0.2","@types/react-is":"^19.0.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0"},"peerDependencies":{"react":">=19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_4.0.0_1738128429347_0.27656278172832116","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"react-keyed-flatten-children","version":"5.0.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@5.0.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"3024fc8819f7b60fc5039b527f133d9ac3a02a82","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-5.0.0.tgz","fileCount":7,"integrity":"sha512-XA5ah02sZAeDrbz4Lusd4acqG5q5BtVwPHWierruVhrgX6CMCldbGcTZZM14cQZ+GWq+tzRzEpsCvnTtLODvjw==","signatures":[{"sig":"MEUCIF50f+n7Rfa1V+jvaCw8NME4Ha+ArpZ7c9JE2aHoUDWmAiEAhIY2wadNOm+81MMEvoUEl4jEKj58wARGP9//ayUByJs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9427},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e92ed3269cf9c29f21d686f2d080ce647ac1247b","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"10.2.4","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.9.0","tsup":"^7.2.0","jsdom":"^26.0.0","react":"^19.0.0","prettier":"^2.8.8","react-is":"^19.0.0","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.8.1","@types/react":"^19.0.7","jsdom-global":"^3.0.2","@types/react-is":"^19.0.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0"},"peerDependencies":{"react":">=18.0.0","react-is":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_5.0.0_1738838512586_0.6577854051353877","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"name":"react-keyed-flatten-children","version":"5.0.1","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@5.0.1","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"c9535da1761c07b58729818e57826afaa70bd920","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-5.0.1.tgz","fileCount":7,"integrity":"sha512-bZhTocogwo+q6zz3+HAQexckXhm+Ko8CaujKO6A138kVpRtF4xN8OmLE7F1Qv9YcDJrZ8gPXkJdM/VgcKjJimg==","signatures":[{"sig":"MEUCIQDfUA9uOI8SSiTXztRFQiGvXSoZaTuF2S/7pPgfdVpBugIgd/YF/4HsbTZfOxYTCskeAIW9uYjPO8tNoNGzGdz2HZg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9427},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"76df95992c6a756c6b7b66774feb9828b7031fa2","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"11.3.0","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"24.1.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.9.0","tsup":"^7.2.0","jsdom":"^26.0.0","react":"^19.0.0","prettier":"^2.8.8","react-is":"^19.0.0","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.8.1","@types/react":"^19.0.7","jsdom-global":"^3.0.2","@types/react-is":"^19.0.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0"},"peerDependencies":{"react":">=18.0.0","react-is":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_5.0.1_1753245498252_0.3335364443762494","host":"s3://npm-registry-packages-npm-production"}},"5.1.0":{"name":"react-keyed-flatten-children","version":"5.1.0","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@5.1.0","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"6e90a15f57127475d96339fab548bbd6cb1b4d23","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-5.1.0.tgz","fileCount":7,"integrity":"sha512-LCnMxgM6mjXS4/gHRTEwYL5eOWq94HQFQ2u32qbrTHynivkd1mkYEkwuAIUAx9sndzvs1RdDwBTWsaTmFCaFVA==","signatures":[{"sig":"MEUCIDE+iiPLQv7RTYmh7gFzeCwRJMPelQIg4W9DGlIy9bL+AiEA9nZG3wHvnparZNqco9aAUoWV6U1q7sQ8Obgu5ABw77A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9483},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5d03ed8b5ae92d28049a645b63a875433561efa2","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"11.3.0","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"24.1.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^3.13.0","tape":"^5.9.0","tsup":"^7.2.0","jsdom":"^26.0.0","react":"^19.0.0","prettier":"^2.8.8","react-is":"^19.0.0","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.8.1","@types/react":"^19.0.7","jsdom-global":"^3.0.2","@types/react-is":"^19.0.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0"},"peerDependencies":{"react":">=18.0.0","react-is":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_5.1.0_1764209945321_0.4558761500945341","host":"s3://npm-registry-packages-npm-production"}},"5.1.1":{"name":"react-keyed-flatten-children","version":"5.1.1","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@5.1.1","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"561e4cb74dce4c8d8ae5143364961feea1515465","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-5.1.1.tgz","fileCount":7,"integrity":"sha512-+DXMhjG0nbKq7AuWvAp1NUWCcg4jsUuBCdtDW8ySl45m3+MTjbXbR+TxvoM/1dTH7reSDqksBipkc/e/gpUnDg==","signatures":[{"sig":"MEUCIQDHL9I7+D5NuVMPLnd8xDK2w/5uoFPaKJ5hYHoGkTqLVwIgZ/r2SYwNEHQn3SDLe+F2nF1mCFPpQuSG+zuq5vtJc/0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9483},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"381b6af6c9b5333b288526e2c32fea6adfaa77bd","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"11.3.0","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"24.1.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tape":"^5.9.0","tsup":"^8.5.0","jsdom":"^26.0.0","react":"^19.0.0","prettier":"^2.8.8","react-is":"^19.0.0","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.8.1","@types/react":"^19.0.7","jsdom-global":"^3.0.2","@types/react-is":"^19.0.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0"},"peerDependencies":{"react":">=18.0.0","react-is":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_5.1.1_1764210422106_0.7388366864863583","host":"s3://npm-registry-packages-npm-production"}},"5.1.2":{"name":"react-keyed-flatten-children","version":"5.1.2","keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","_id":"react-keyed-flatten-children@5.1.2","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"homepage":"https://github.com/grrowl/react-keyed-flatten-children","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"dist":{"shasum":"081c304a371ace094f0ad49ea0a47d3870033bbf","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-5.1.2.tgz","fileCount":7,"integrity":"sha512-jM6/Em2S6g8DAhFGbxlQwVfCRIhXgoQo9Ks1CyjtzCa5O/S52wW2jsj7qaASHBln86UxiP4ZBLwtLJd70glpVw==","signatures":[{"sig":"MEUCIQDcEmPFXnMnVKYAeL2IgjMFoZw8SNST4EXDbkEHhv0AGgIgKENntWo9lkhsP/8OWLMsFNPEKzCvCG7wbyAGh0t1ewE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9485},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e22eeb40fcbd015412e978a0bdc6cfae411a1a97","scripts":{"test":"tsx index.spec.tsx","build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"repository":{"url":"git+https://github.com/grrowl/react-keyed-flatten-children.git","type":"git"},"_npmVersion":"11.3.0","description":"Flattens React children and fragments to an array with predictable and stable keys","directories":{},"_nodeVersion":"24.1.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tape":"^5.9.0","tsup":"^8.5.0","jsdom":"^26.0.0","react":"^19.0.0","prettier":"^2.8.8","react-is":"^19.0.0","typescript":"^5.0.4","@types/node":"^16.18.32","@types/tape":"^5.8.1","@types/react":"^19.0.7","jsdom-global":"^3.0.2","@types/react-is":"^19.0.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0"},"peerDependencies":{"react":">=18.0.0","react-is":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-keyed-flatten-children_5.1.2_1773107804103_0.4177482601644542","host":"s3://npm-registry-packages-npm-production"}},"5.1.3":{"name":"react-keyed-flatten-children","version":"5.1.3","description":"Flattens React children and fragments to an array with predictable and stable keys","type":"module","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"./dist/index.js","types":"./dist/index.d.ts","homepage":"https://github.com/grrowl/react-keyed-flatten-children","repository":{"type":"git","url":"git+https://github.com/grrowl/react-keyed-flatten-children.git"},"scripts":{"build":"tsup index.ts --format esm,cjs --clean --dts --cjsInterop --splitting","test":"tsx index.spec.tsx","prepublishOnly":"npm run build"},"keywords":["react","fragment","flatten","children","utility"],"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","devDependencies":{"@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0","@types/node":"^16.18.32","@types/react":"^19.0.7","@types/react-is":"^19.0.0","@types/tape":"^5.8.1","jsdom":"^26.0.0","jsdom-global":"^3.0.2","prettier":"^2.8.8","react":"^19.0.0","react-is":"^19.0.0","tape":"^5.9.0","tsup":"^8.5.0","tsx":"^4.20.3","typescript":"^5.0.4"},"peerDependencies":{"react":">=18.0.0","react-is":">=18.0.0"},"gitHead":"3322509f1625ddc9734bbc45fab7a7e47a103a41","_id":"react-keyed-flatten-children@5.1.3","bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"_nodeVersion":"26.0.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-Sg/dy1L74BTU+X1X5Wy4CUcf1SzDVJCIwIt3Zhr+yPtCMl7OAKHVxx2b5zhLfbTveFFmTa8a82j5tqaji0feEQ==","shasum":"0b6ed4fb7602b4ba2193ecac4be4b0f744dab1c2","tarball":"https://registry.npmjs.org/react-keyed-flatten-children/-/react-keyed-flatten-children-5.1.3.tgz","fileCount":7,"unpackedSize":9485,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDOGNeWZbBtIECFkSKCIIBTG7fJ60LFoi27hjK2NnK70AiEA90nYOMqpuJD/q8pBTu3x250qRziwDnaYnejlxm9z1ZI="}]},"_npmUser":{"name":"grrowl","email":"tom@chillidonut.com"},"directories":{},"maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-keyed-flatten-children_5.1.3_1782097736371_0.2529318437435555"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-20T08:44:28.689Z","modified":"2026-06-22T03:08:56.621Z","1.0.0":"2019-11-20T08:44:28.846Z","1.0.1":"2019-11-20T08:45:34.294Z","1.1.0":"2019-11-22T11:25:11.735Z","1.2.0":"2020-02-03T02:51:50.013Z","1.3.0":"2020-08-04T02:30:00.044Z","2.0.0":"2023-05-25T04:05:42.667Z","2.1.0":"2023-05-25T04:28:21.500Z","2.2.0":"2023-05-29T04:15:05.769Z","2.2.1":"2023-05-30T04:33:00.118Z","3.0.0":"2023-11-13T02:17:03.384Z","3.0.1":"2024-09-07T03:30:11.092Z","3.0.2":"2024-09-07T03:34:17.027Z","3.1.0":"2025-01-19T23:35:12.540Z","3.2.0":"2025-01-29T05:21:27.536Z","4.0.0":"2025-01-29T05:27:09.513Z","5.0.0":"2025-02-06T10:41:52.768Z","5.0.1":"2025-07-23T04:38:18.422Z","5.1.0":"2025-11-27T02:19:05.522Z","5.1.1":"2025-11-27T02:27:02.290Z","5.1.2":"2026-03-10T01:56:44.239Z","5.1.3":"2026-06-22T03:08:56.516Z"},"bugs":{"url":"https://github.com/grrowl/react-keyed-flatten-children/issues"},"author":{"name":"Tom McKenzie","email":"tom@chillidonut.com"},"license":"MIT","homepage":"https://github.com/grrowl/react-keyed-flatten-children","keywords":["react","fragment","flatten","children","utility"],"repository":{"type":"git","url":"git+https://github.com/grrowl/react-keyed-flatten-children.git"},"description":"Flattens React children and fragments to an array with predictable and stable keys","maintainers":[{"name":"grrowl","email":"tom@chillidonut.com"}],"readme":"# react-keyed-flatten-children\n\nSimilar to [React's built-in `Children.toArray` method](https://reactjs.org/docs/react-api.html#reactchildrentoarray), this utility takes children and returns them as an array for introspection or filtering. Different from `Children.toArray`, it will flatten nested arrays and `React.Fragment`s into a regular, one-dimensional array while ensuring element and fragment keys are preserved, unique, and stable between renders.\n\n## getting started\n\nThis library requires a version of `react-is` matching your React version be installed alongside this library as a peer dependency. So, if you're using React 19:\n\n```\nnpm install react-keyed-flatten-children react-is@19\n```\n\nIf you're using React 18 or lower:\n\n```\nnpm install react-keyed-flatten-children react-is@18\n```\n\n## why?\n\nFrom the documentation of Children.toArray:\n\n> [toArray] returns the children opaque data structure as a flat array with keys assigned to each child. Useful if you want to manipulate collections of children in your render methods, especially if you want to reorder or slice this.props.children before passing it down.\n\nUnfortunately it has some thorny edges:\n\n- [Children.toArray does not traverse into fragments](https://github.com/facebook/react/issues/6889), which limits flexibility of its use.\n- Existing solutions exist, but they do not preserve the keys of the children and fragments, which throws away valuable performance optimisations provided through React keys.\n- You're might be doing something a little wild, so you want the concept of \"children\" to as predictable as possible for you, and for the consumers of your library or component, [to avoid issues like this down the line](https://github.com/ReactTraining/react-router/issues/5785#issuecomment-351067856).\n\nSome have proposed, soon after Fragments were introduced, that [a built-in `React.Children.toFlatArray` would be useful](https://github.com/reactjs/rfcs/pull/61), but it was decided against since \"`React.Children` is in maintenance mode\" until a better solution is devised.\n\n[View the codesandbox here](https://codesandbox.io/s/react-keyed-flatten-children-example-yghsp) to get hands-on with how and when to utilise this module.\n\n### for using this in your app\n\nI've written a more application-focussed explanation in my article [\"Addressing Children.toArray's thorny edges\"](https://tommckenzie.dev/posts/react-keyed-flatten-children.html).\n\n### for library authors\n\nIn most cases `react-keyed-flatten-children` is a drop-in replacement for `Children.toArray`.\n\n```jsx\nimport flattenChildren from \"react-keyed-flatten-children\";\n\nconst MenuList = ({ children }) => {\n  const [selectedKey, setSelectedKey] = useState(null);\n\n  return (\n    <div role=\"menu\">\n      {flattenChildren(props.children).map(child => {\n        if (child.type === MenuItem) {\n          return React.cloneElement(child, {\n            selected: child.key === selectedKey,\n            onClick: () => setSelectedKey(child.key)\n          });\n        }\n        return child;\n      })}\n    </div>\n  );\n};\n```\n\nNow consumers can use arrays, fragments, or conditionally render items and your library will continue to work predictably.\n\n```jsx\n<MenuList>\n  <h2>Animals</h2>\n  <MenuItem>Dogs</MenuItem>\n  <MenuItem>Cats</MenuItem>\n\n  <h2>Cars</h2>\n  {CARS_ARRAY.map(car => (\n    <MenuItem>{car}</MenuItem>\n  ))}\n\n  {isLoggedIn() && (\n    <>\n      <h2>User</h2>\n      <MenuItem>You!</MenuItem>\n      <MenuItem>Someone else!</MenuItem>\n    </>\n  )\n</MenuList>\n```\n\n### for everyone else\n\nWork around libraries which don't support fragments passed into children.\n\n```jsx\nimport flattenChildren from \"react-keyed-flatten-children\";\nimport { Switch, Route } from \"react-router\";\n\n// A <Switch> looks through its children <Routes>, but won't match <Routes> within fragments.\n// <FlexibleSwitch> will flatten out its children so <Switch> is able to see all children.\nconst FlexibleSwitch = ({ children }) => (\n  <Switch>{flattenChildren(children)}</Switch>\n);\n\nconst AppRoutes = ({ user }) => (\n  <Router>\n    <GlobalNavigation user={user} />\n    <FlexibleSwitch>\n      <Route path=\"/about\">\n        <About />\n      </Route>\n      {user && (\n        <>\n          <Route path=\"/users\">\n            <Users />\n          </Route>\n          <Route path=\"/settings\">\n            <Settings />\n          </Route>\n        </>\n      )}\n      <Route path=\"/\">\n        <Home />\n      </Route>\n    </FlexibleSwitch>\n  </Router>\n);\n```\n\n## license\n\nMIT\n","readmeFilename":"README.md"}