{"_id":"flagged","_rev":"16-11cb205a0b2d5857d5c37946bbf33035","name":"flagged","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"1.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@testing-library/jest-dom":"^4.2.0","@testing-library/react":"^9.3.0","@types/jest":"^24.0.19","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","husky":"^3.0.9","react":"^16.11.0","react-dom":"^16.11.0","tsdx":"^0.10.5","tslib":"^1.10.0","typescript":"^3.6.4"},"gitHead":"84daf955b9a0a80b69119d8113e138aeb0d21aa0","_id":"flagged@1.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-Prp4LbXwoomeQ4a7QTRkl5hzuEYZPp97owFV6k96S3SF1xrXo+6jPVmdFTu7d8D6xk01E9zA/JDJDeqqacTGlA==","shasum":"a8a314437afd762932bc46542ceca3568c7c94e4","tarball":"https://registry.npmjs.org/flagged/-/flagged-1.0.0.tgz","fileCount":3,"unpackedSize":7116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJds0vRCRA9TVsSAnZWagAAX8sP/A5dKZW8kNX+GMUo0Td6\n7VXlID4Z6UUTkRcavTkWglQvtanzwOCyp4J1pBC3Ieo3Piyrm9pK7+tnN8o+\nHXw7vJadOGHkfjxDjs0PW8Kr0eCkFtmBlGi7TZy+oq81KpaZLSZ2+8gRFuqj\nzUk/IoDTa8JewFmA8fVTQ2PMElEKKCJgT9nHX5Gl4UCZBxLSdU7ZUounRBRY\nJEwlNC86qXAVVGlQnlK06JyMymLVaE369jbU0iawQxCUDLli7lTweSk80+hJ\npm08tyAXm72JYnhIEOUUmD599CglDGsKEaAsnRo5/2S5j4p1CGCtq6sT6+XS\nWnLlV9wH9pdMKrSdKaXwl9eHpQ4+KCPQPLaR0+zosU8AGIVNFb2/ZU97yZ63\n3W++JE5O6yjyfDaMg5H0mKB/92qHPoJ/sCTHFTqqk2MkbdrcHfOQGYuZ2lLx\nkObpwoV26C4MhFjm/UfJ7HQ6yVF3fQeGf90E5aDlOgSUoMv1PlNyV+qTlN7t\nfDLO42vL8+Ne2BwlMFbXX7qfxzz9jj7P1/zFd2vSbRA7zjwp3H0hej3EJ9Qn\nfBJybydDr0cjpDLvVVhnfhSoGYPPtIa7g8NbsykqtxHqrdjUk2H+aHkof52K\nYRWy3RiALeHTYx24QzJf1oeYjxwtfS4BHwuPylOq86VDlleuXWdKph80pA6f\naOO3\r\n=PcBh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGih0RBjv19qqhVit+EybMiXdKZG0139HzUgZmjRD+1kAiBr3trlqz5SSqT8G+V/rfSQfjuVUCaMoziDfcqpZALd8A=="}]},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_1.0.0_1572031441535_0.9593176785264772"},"_hasShrinkwrap":false},"1.0.1":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"1.0.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepare":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@testing-library/jest-dom":"^4.2.0","@testing-library/react":"^9.3.0","@types/jest":"^24.0.19","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","husky":"^3.0.9","react":"^16.11.0","react-dom":"^16.11.0","tsdx":"^0.10.5","tslib":"^1.10.0","typescript":"^3.6.4"},"gitHead":"cee982421fcf0ea5effc50adca4977f08ac6c7ca","_id":"flagged@1.0.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-mB/sPRnZBrCfElYX3vk6c4AB6df8vqwNRHaVmkVcGTTbmL7Oewo0upQDoxxhlPPoR98djGsrM4oTbkgvqYdAgQ==","shasum":"de3784a2a23a05037796325d2c41c52c121b68f0","tarball":"https://registry.npmjs.org/flagged/-/flagged-1.0.1.tgz","fileCount":11,"unpackedSize":20156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJds0+jCRA9TVsSAnZWagAAXN8P/jX7Lg/OgNRhSsbZTWNc\n9gSNdZyfwN7BgIyVYneXpiqHzqigZTxhLgAIoW7TpiEy/PLASW1n8XwbWkR8\nVugOVon/sBvs16cZ2iIbOuAthVlyIBYRpx2NFw6SJnsOY8AXBzXMDoLujgpv\niqcWoQdnJEx7A0Cwd+DMOHgFfq1gq5IDqivcqCGlvBdoadADukN+Igri/Jzb\nQXvSHsw1TiJPXn4rXUzCHNY71A0zBUinNIxSQkHfexZieL5Gm3AKpAyybqHG\nrG/pKVeigFeMm1Sn+RjiICbZep4j5CS2DL8iShwWw31IRXPyLwFRxowxsr7P\n/T3aJiqaJLvo4QnmCJo5Fry3pgu7gva1N7L4mbAGx6gDxNu6CahpXJxogVRR\n/RWbSu/gDYY32+GitLz1rnWWTTXhoWMcx7JmpPapLiTq4cMTwh542zimaHOR\nKk/XylfERKouGgNJEBfyM64LrHCqb3abT5i2CYvymjn+QrdMM1F8Et25QZGG\niBuWgvSmUruL8QtKqHqePPGG7DvylkEQH6syFBQGhlct7NntF3MwykXqEVrW\ntYVPvTSaLtKdljNV/AqQHjTTAMym6aU7tpV3hC5hjdD3P0uCsSvf0YBjyUoU\nGoWz370ozUuWu6Fv+OG/581A6e0Hfl5fpx6sYXJ0kFiXxTfy9+or4SB932rh\nKRsq\r\n=LMzo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtLwF8viTpWahl5m7Ejy1h6GRgEfY3ou8rRC9yK6dKvQIhALbXvUlRz6LH7e81fdPhe9geb9BZgEpXDuHW9YyvBN7x"}]},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_1.0.1_1572032419128_0.28907136285598267"},"_hasShrinkwrap":false},"1.1.0":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"1.1.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@testing-library/jest-dom":"^4.2.0","@testing-library/react":"^9.3.0","@types/jest":"^24.0.19","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","husky":"^3.0.9","react":"^16.11.0","react-dom":"^16.11.0","tsdx":"^0.11.0","tslib":"^1.10.0","typescript":"^3.6.4"},"gitHead":"402c6d2dd33d8d61bce60df6381b82f328d5a644","_id":"flagged@1.1.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-GeD/aU30aRhtU50i0xtkSC8D7mPeOJF1WRfjmXEx457Pxio0Uq0GUz1fogYdsPYfqXXL066Qju7+W9cQontLBw==","shasum":"1b67a60b5b9ed9a2511e5520af67492c3c049266","tarball":"https://registry.npmjs.org/flagged/-/flagged-1.1.0.tgz","fileCount":14,"unpackedSize":25361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2wiNCRA9TVsSAnZWagAAWuUP/2aNPX3wc/qeiJbe9OmX\nZ8XXvXAhMHYP9X/OBgzFvlB3pD4Wf+ORrI+2Azl7w6cYG82nrpAOuhwap9v4\ndzKL4nDYEOVqvwVlp9g0wA+kJCW2FwDZdpoPGoEzFbpwkNMvnQHhlGjLdURb\nk9u20jjaBQAM+Elx+gvjgiybiT+9baWrm2m3SH6tIfLX0xWwUE6VlwUkeQ+I\njY1/cBQGco0e9b6SoJ2OvORIaZ7MiOIKmTZ0b9xSx9XwRZpNhTBABMCJ2TZW\nQB+fmuelwXJ6fcNNkb+39Ywx/XFtDY1UM4BCgJVC9sJaV11NaCHqpaiy/Dm4\nJCUDp8UIayNPgFJ5V1WzcsqLuzxyc8QuEv01PW6HpgYIiKcbk+homFljIDqp\n9MiQWnYOP4Lba0OCOExoD97XQEyL2TnHrvxCvcRzPa/obWC4JLs+ZUJrAn76\nm6FgU8YD5trqDU/MmTXa8y+VfUC6SD2RaDZBmoL7Ntaoo4hsjBCVCbdLFoGU\nvag29AT1KiwnL5RPReCejMYrw6TmhvMLnx3a3FfsV3/7pnHizukkg5pxeeLJ\n/OzczuZXZEfOq0P1GLcm0SrGOGk2pBZPAbMl5nH0HL6kgVQ7JTFv9FyozSPX\nuyJNhZjTJc5OfBF0szGYLpM1PNXr1SVzYv2nKHTiEX7JNf25bbuW+sDTYgXT\nIEQO\r\n=8XWC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzUsqvceAMBEvZyGl4JSx6sCNuwB6XA4bD8Wt2vF1PxgIgC6TGNgod7YAH5dbXvqcYb0KIYLsawOWlfPzSs0OrkUY="}]},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_1.1.0_1574635660485_0.42711216479431124"},"_hasShrinkwrap":false},"1.1.1":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"1.1.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@testing-library/jest-dom":"^5.0.1","@testing-library/react":"^10.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","husky":"^4.0.0","react":"^16.11.0","react-dom":"^16.11.0","tsdx":"^0.13.0","tslib":"^2.0.0","typescript":"^3.6.4"},"gitHead":"a6f6ab1aa3ed82e3a4562e4292c5e6162e75e515","_id":"flagged@1.1.1","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-s4TOEJDHKGloZ9ye5nwfM+wGIbxYZejUMGQY1vRsHPzmGboWDYbrHs9h+yv1WuWiSS0CkzSH0CsYNoSHK2MXHg==","shasum":"5c557c7a92976fda271d1c3af4f03ab4f9ad2b64","tarball":"https://registry.npmjs.org/flagged/-/flagged-1.1.1.tgz","fileCount":11,"unpackedSize":25629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5EyLCRA9TVsSAnZWagAAXtAP/3WcEVX3EcgtFVZdroEr\nMyXFSZXoJH7yKR6YtdAwZMdmHneJ2XopMoJTiU0MkVuwuJgUjUjTnFSHfYmg\nFDxM8iVdFlohlPlfVbTJikEk9jfO86Pm+CZ7EaG5De8LvsVhhkbel5s/DQ3P\nbegprgz+8b+yrGN9lWo3UjECYOUj6FkLqg2C+8cIM2PO9lCARORHo+SFp7Rp\nvPaIeZzEyYabusDa78c1+GlYFuMt8J8ECTNqqVTBBx7J/beRAV2jsmrwMPSu\n4S55OQUNQ5qx8PzqpgNcQ8PDIbgcYdsWXBnLor48EBwre6yC4UMnXuPu8wW1\n+5P5kcRD2DYNDNoRMS6lFQBiLNyF/2XMEDuanYZRtY02sq68NlnhPXc7vZuf\npANHfYfekuc/uUnTYVF0g/2WvHlL2r0kDXySQg31Fe2KflZoDUTarX5A06LJ\nZk+lM3dWMFJxI6+FGGJUB/Q9NsaMvzYNw/YmOuhqnqddBIqA3NBmoW8/g9Vj\nb0wsbBur/W9u6WwOccDUkUuBBwQEA/W7xMWhlYQzmmDxIB5D9xnFvHZwoOVG\nFY4i2lRRgHOa1SH25ZpQowJm+jtPJP5QSO/1JT8RXf5mKbPMDj10DA9ZIcYi\nrya0L9UZtVYNVhO6ostoULRB7k6Lz3szASm/kH9nwpfjcbuE9jWHtZenbBAO\nmCBA\r\n=HfNV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPphasMUEMKO/3yix4mAIMNKyxRrPAA8HX4ihUdxsiwAiEA1FVDTCwJcyDpEr3cUm/i482Xotw19/6odRfGEJk8AFE="}]},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_1.1.1_1592020106974_0.8932729634695522"},"_hasShrinkwrap":false},"2.0.0":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.0.1","@testing-library/react":"^10.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","husky":"^4.0.0","react":"^16.11.0","react-dom":"^16.11.0","tsdx":"^0.13.0","tslib":"^2.0.0","typescript":"^3.6.4"},"gitHead":"27f34d44ede54c44b149acfc23e4a74460dd58d2","_id":"flagged@2.0.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-6qXHW073WmolILxuHDUHHEA4Al48PeBGN3d5GstZPwP478mCr4HOb2xStx+G6T3zqdWR6+YaGPM5KI3CKK9f9Q==","shasum":"a1405d125920b9407acf1b1fae774f1387078e9b","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.0.tgz","fileCount":11,"unpackedSize":28286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5FUjCRA9TVsSAnZWagAAJdMP/3XrfzkiPoWu8IgYwmby\nFyiuebAx4xB2KoU81MrlciAF4P4gqIen+QvBm3K1E0GRzWXfi5V7FRloCMja\nKSpCIyLs5g4F64l1L9jnh/i03SX0WkZvrnirzLVpdyB4n9eRRop5+7ZRWNMX\nCUawXXLoNarvNVU1pMhyDz9/x5vxhd3pl7Ma5JThehJ+5vYiy5QKgmr6ZLeH\nRtSuPkPoVuzD/MJZ6WsSS9CCCgQYafcqV6rylNesmTq62EeNF5I+BpM7ugDB\nMZQhtaYUASVYGrrBylgwAM0aV3KH+buqYwXAQyoXZ7NLcYip8S3W55lR4fPK\n1fE7t+9MQHGBP3t/xUhM7Ng60Hokzmn8Ajboz0W82R3foUn3RmKNNF3GdhLN\nAsLiziKr4UwsquXie61PSGqY/btvbsG3LUjIr/K/R70CE2kXhepjw/UrEZnZ\nZLTNhmC/mLAd9U9DJ2ECrqNMVPFhV4SFFAjN2dVGl3K/XoypTf0p5lC3w7pw\nDcUeVUejxOLAdJMxlAmvF6x/2VGq9YlET/AU/83QLsl9NGHOkZNWlWfKftva\nJ3eym7/ZV9xbIaYDlDxIN6MfPO0alSdM6Z3zj2UtBfUJ/yjJQaz9qmdI0bcE\nPsAZwQlAqRpn2gC/ybOhBS+LoXQTLcQ/woC2vBCCfxORDzONnt/M0IObqe+U\ndUwg\r\n=biYh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDE43YKdu34O5o/eTCRq9l3HqZdQkPS9ls6gVrewZouPAiEA8ByvtFUpz+LlvcDmzku8S9IXuNz5Sc8+PifJprOAp0M="}]},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.0_1592022306733_0.14244653390328876"},"_hasShrinkwrap":false},"2.0.1":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.0.1","@testing-library/react":"^10.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","husky":"^4.0.0","react":"^16.11.0","react-dom":"^16.11.0","tsdx":"^0.13.0","tslib":"^2.0.0","typescript":"^3.6.4"},"gitHead":"2611b6f938a91d1d8ab211699203664aa96cb806","_id":"flagged@2.0.1","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-cKkJdbHruBbi4CAufayqDs1X6PYMKE+MZmG/3mYBPZw1M0dY+tA14tDTkg5+TISQwZ7tTIzwubFZNv4lm7XENw==","shasum":"2900b3517a18bd0ba8e0080e7fcd1d847e921f06","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.1.tgz","fileCount":11,"unpackedSize":28206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5FYSCRA9TVsSAnZWagAA1S8QAJQ95vbfazjfcvcoAJiz\nyMNrjkLpIwgjP37Djp4WlhlZu6S6BkYhh9MioEJ3c1f01JdJvIPvFoFlOpZp\nh+EmlQzrhfQEzw4P7PIrQvn0I/6o0HHUrn9ZXiAAfu6kYCPwfOgnY+qJWUi0\nvl3KEQUC2rsc0351Jr9vb4yX/LDTNoJYSuPoqTwLMt+FptuQz3Cq1mjkx/es\nfH6UqwTu0uiQ61NLVo+9M3npvmyKl2fGIp414NM78R73w2ZoKPFXnatDgJhO\n/KUBMvysDJSgDp6prBNa3M/lsGDjTc6ubvSU773tAodziNzfopcPS6C2Zia9\n2oDmoiZSrlzbSBAyyNb8Y/TOS4o955xevIAmi98t3/Iy605B3WI2uw8mOuQF\nrLeh2ARc0O7SQXHAt2/m+JXCbsfqk5BI3FTRm8px4a2s3h7qSJBgK+0E1oHI\n0v7TU0MFKcVcuhbNAKjCV2NmGf8cH8O8CjinLQbpezOvPnq5E71BZrE7gsBR\n9U8gkCLsQ8tmP0onmg8HO/cAM0/qBKOHubt/2S7l6SV50oB6rS7cRwDFQP7f\nxjc316xiC0OY6UucyqJMFsNFCA6xlp82q1gmZx7KK28J5h0hVFiWUJXQOs63\n/wzxy+Qa7a/AP1G3cBzyPNWXlnnCo0Ao8HYNUvhzyiA3z2wpU9Xdbfco4aZq\n3J5n\r\n=N8mV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIALIKdv6nm/WrQte8k37Dd868NH8rphA3UzhzS8kYAdEAiAEHiLZOX4VYqDsMn5jASKy6693MbtZu6jxC1GDCBExwA=="}]},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.1_1592022546053_0.07529869876453787"},"_hasShrinkwrap":false},"2.0.2":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.2","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.0.1","@testing-library/react":"^12.0.0","@types/jest":"^27.0.0","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","husky":"^7.0.1","react":"^17.0.0","react-dom":"^17.0.0","tsdx":"^0.14.0","tslib":"^2.0.0","typescript":"^4.0.2"},"gitHead":"594420681ce5add618a327bbaa03615f72f6655d","_id":"flagged@2.0.2","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-QZvZU22X0ZRkPKkR1hNlaL45i+O2rjzONT1GvkOYF6I9eQ6AMrIRuLpwuzFJ+I/Wld+9ONQYp24NSVOv9ZKXgg==","shasum":"77b721707d91a2f8d0d6e0ee013af52a10b9da98","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.2.tgz","fileCount":11,"unpackedSize":27467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL60hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrO6Q//XNN7zST98s3TQXUwJt0Hd7Oh42KxQkCFndldMy6U5+dBaLY7\r\nRZDvPYYWXn+bC3Z8Z5gykcNouIi2jvwBPXaJbK4HjhjGnKwKegwte07DVGSR\r\ng7oshfTz8ic9lCBWKmXaGaBa40OSpmacjMLmPHTKcG7Ujamy1ue+4mJPbBWu\r\nx8KOS4oP9eTygury4mM60XuReMMdAWEWua+X6d3nSEH7hhUCyZSSrYdRGfNf\r\ngOKDbnfZuvEVPLyIoPhIWa5kfRsYFkY66INEUUJpJT9nYNAFTyLWqw6SI9eD\r\nK/VGImBiH+MIfgddqO9+7vmOQpnX71ScmwNXwSmrGmp0M+KswndHbF89NzdL\r\ntyw2skteD4OhiSpKGVLqQZhcMgONtbKe8z4oSM+vuRdh2oRk41K0BqQUDDir\r\nXvfk/aZJ6FWNPEvQVr6/HvD2OvaeA46SjjqvlsmMUbNFRY7oiPBsFT7oJI0Q\r\nZ84HQZjsgMvzm7uzfLBnW0Ni9hm0eeswkEGHYC2X5w5vB6NXtpGuuc3Acr7j\r\n7AI1nft8s56gz3RJTH1yKZ3EB0+aguuKvqHHpps8OVZ3ck22mnUhe8wzbLew\r\n50UZdkEg2TvtKjQcXrbcxXgr/9XTjYVo3n/YxdLW2SL0zAkxolY+kBgcdaTg\r\n8/lfkMbhgCcnaCF1kYF4bdb0zgX7JNrnsEg=\r\n=xk3P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg0CeCSwa04Xisfn7R9mRyPmG+e6wXdPD7+kqTNgKoJgIhAL3EhB07n1Xc8D5N8ZJOxQRVu9h/8IOgWC8MDw+9NceI"}]},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.2_1647291681194_0.12725581020729226"},"_hasShrinkwrap":false},"2.0.3":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.3","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.0.1","@testing-library/react":"^12.0.0","@types/jest":"^27.0.0","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","husky":"^7.0.1","react":"^17.0.0","react-dom":"^17.0.0","tsdx":"^0.14.0","tslib":"^2.0.0","typescript":"^4.0.2"},"gitHead":"ca5244611f67bf5d2b190b3c2ae09408fb8031f3","_id":"flagged@2.0.3","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-s+1Ep0wt0Uo/9mvf8JwUOEH5zcK31yU/L8WAW3RB0A7nvIanIjtvz588cWh2PTdshs/soNGhX1uHyxpoAlkQqA==","shasum":"b23dc21d2a074a6cbc5818b3fa4f3994c93bbb5c","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.3.tgz","fileCount":11,"unpackedSize":27467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO66IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyxhAAkH6aS0i+tjhskloA8gjlin/C/T9mlCWcNhw79TgGUfaNJazA\r\nyMwoPp1NJBIakauI8rxfmuo2XF4m9Q0mqKWGj6qLQrEchKSfZSrXLUKuwPj8\r\noWrERWzdcaIRgc8ScxBkCODI6nlW80B/AvAEn/HB5pLuwSoGR9YDutwaPgDI\r\njg3m59iosuLD/JehODBaYoF/Im5nuid4pP0P5YQqExXbfehYvSZFxaPRocei\r\nmmd/VhkI/lF8kyPymNZLVYlNgipRwQwobMqSd7ko2zcDlK27f+ZlUxo7mo5+\r\nyuA7PZh0E5q/y2O4LwgJVRxRylDElMjl4bW6bC5beFW2BPPgVAUqixBgu/T9\r\nH7X6GHLJiGbWV4U/soisuhZULm0bDK6gvNkpccq8zgh0ycsMVmLY86jyqqYJ\r\nurRnF9S+fmGkCO7fBNSFfjk+mQkTnfMFCNeJMMEyZscx8uehOmqPYFzXDb0f\r\n9/AOmp396tzTzr34/j//tR+f9yFijunZyr6G37jEoF8BLY9j6FxZXS0FvL1n\r\n2Phq1MEQHj6SBOK4//KzHHD/peiYw5a2AGdnlfemKcZNucZAMZY5keAyFa0X\r\nDeKBNlyrclD0Pmo5LE6O4KFMykCsDIXqq2T+D2/VYmL7ZEGbMXM18lXscwek\r\nFUm1woeUQguppHcgr0XXbtOAMaQmMjLC7HY=\r\n=ahp2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwMsUWH6jyiQX6hvBzbCoJybHSIYXLudRn/BRG+8WARAiEAjJqY1sGpnTmqA4iqTzG/bOH0ojcSUdmGxZWTEnbrM+w="}]},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.3_1648078472188_0.7268813430630221"},"_hasShrinkwrap":false},"2.0.4":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.4","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.0","@types/react":"^18.0.10","@types/react-dom":"^18.0.5","husky":"^8.0.1","react":"^18.1.0","react-dom":"^18.1.0","tsdx":"^0.14.1","tslib":"^2.4.0","typescript":"^4.7.2"},"gitHead":"a4f2a1ec20056b6a16d9c8162baf6ab429d469f0","_id":"flagged@2.0.4","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-bM3QCvaOL/PsK0MC6xtMCarK8lJJTKUsV0y0YqG75MK589BvQQVHSyoyf7wNw5F1dd7K6EUVvIK105Yc3Sm7HA==","shasum":"d9276e8a7f8711979dd78b9e3d361c8b399254b3","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.4.tgz","fileCount":11,"unpackedSize":27873,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxY3zkvyNk+hSCKuSL4wDRLDFYY4GnHrdMGURHeMDQZAiB341GrUocU0tveJZXQeFX5wp1u9R9PG86VBYXizfjsNg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimQLuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7ww/+IrfmoDPLAxB27T773+KFVzSVz5GJA7Q6jKnkxN9PrkG3y1Sh\r\nIJwmc2NaAqiedxNGN+8jtHmCN/Y2vL+h39Oy0d+HKqXxp8elFR1xY899xP/i\r\n7AjfkNz/ahqA+DNNP5ObqXgWTk6n4HKGI0VPFsH5aRpdv7CspbBu7HgzXHCf\r\nvrbe0sZI/02ZcVL3IaYDsCubDhkqqjRMQXezR4JojLtVQRafOEOGLRbKRJ33\r\nCBm9GUhuNZPtvVuH9qR31BHqw085B1Z4VUAluFaawPc7Zp6TwHYd3Iufxnmu\r\npUQr/X9lFMMoM2qW+KRDHrCK+pwiAzJXiVYs5vHtcCgbOFHGEIxSf3aLr4GX\r\ns9K9nKgd+/TD1Fi9W35vxwFQuv1/zEGeG5wMI8A2D+b79RK+RjMnM4sloVnF\r\nkFSGQ66DnLB6mYRiEi3DNsySW2COCqakvYzthgEjnTr9eSuYTrQfAP3OTbyV\r\nYS2/yBjUE61Th5dj8LKrPe6Y2/3zGZsecMTIMe1rTIJUsD21nsrAF/+/phwV\r\n54u1wo14AVKmxvdcIEBHvU9JZ2PVFF40mX49XLbSArSJg6z29BxPr3l6eRsB\r\nF7Y2sbFpWPcKo3I6LPy6RZA9fGTRSLwNP2llQE/0vyeXLaC1H2w0ZlKALg1c\r\nuK9GEY+0BDaUJ+ZbutagG+a8k9iQkUnNNA4=\r\n=WWke\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.4_1654194925995_0.9299042836878961"},"_hasShrinkwrap":false},"2.0.5":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.5","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.0","@types/react":"^18.0.10","@types/react-dom":"^18.0.5","husky":"^8.0.1","react":"^18.1.0","react-dom":"^18.1.0","tsdx":"^0.14.1","tslib":"^2.4.0","typescript":"^4.7.2"},"gitHead":"fe0ee4b6affd01ec2a75ed7dcf6ede30233e898b","_id":"flagged@2.0.5","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-WjpVFSib9BDDBjTgw49vMur7MAld6+cijzNKi/3ciFEh3kBvH4qdxzQVnLukuvBtUmF+oikqNkpkQmoM40Aj1w==","shasum":"85fb252b243457207ea852672d5b4f3ca4ce9349","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.5.tgz","fileCount":11,"unpackedSize":27873,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ8l1HHvWNOsaytN2oxSUYzQE3REypJj57EusjOOwnzgIhAIeL4xuScL03fqaWFnwZcbDkFjqJv3Gqmv0+hzXHvq0z"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizyv2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphOw//Re51jUVcLtpT1vBzWZbHsN4sHjVLP+B3ZC25C/skhVEhM/Ah\r\ng/Ob6Vrc9jVeEgwCyQ2UWtrWO3lmsHP3qx89wVsoAZstnVt++dwyvcBg+7cD\r\nTm6kVBQeyZ7f7/sE7kTeX9h1ULpTtpK6P52GgGDa4cpKd9y0Q5RZpxhCOErO\r\nY9hNm9dgcHyY/Go8rLX/T6hjEcDX7RZwNAIy2/6+mtdc1wgLkYnTrY6B1JQO\r\nLtNW6d14gM3sfc3J7x/QCnPU0t6bUYrlCtnqc4a+/99oteMKEQ9Pxhhxcbec\r\npYLAnlFP6rVTRmgPgmBfPlEvnmy2B33lm3X1PRyjSWYo7ls8uiV4piQTGutW\r\n4Q2g3R7ogr7Tt7Q470ARUCZxFnxltlABua/ctcBISZa2T8vNci0KB/S/quCD\r\nSbbctBLWGPy0wF8E0e4b0NT31Sxe5+XXdXeb93Q+faGEAt46o/J3xiObjl0H\r\nVP9DuJcgQ5KghcNLD2NgTRMqxmfQdKi7JpkEiOL6c594amBxMFHTuDVm4HIK\r\n5U5fO+5S8f1dTJD7rrKnv5FwcgO1/gDJQMb2cOrbvYou2LJksgpxRZLuRd/t\r\nQdcVEFcrB1nq0Ep9ii3oBGf3/EI98RsrABzLovsbECv/Xj1dk5SDSWItfZec\r\nyt3uumc2Q9VwknRnjd19vAGp3jribTmX0m8=\r\n=JV8s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.5_1657744374385_0.2799530828373389"},"_hasShrinkwrap":false},"2.0.6":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.6","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.0","@types/react":"^18.0.10","@types/react-dom":"^18.0.5","husky":"^8.0.1","react":"^18.1.0","react-dom":"^18.1.0","tsdx":"^0.14.1","tslib":"^2.4.0","typescript":"^4.7.2"},"gitHead":"79f3be6a2b751ab5590bb144a31b42246c2ccded","_id":"flagged@2.0.6","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-Dfbftp6cpaZMjfXugCdMf4z2XlL11kSTmzr2GPkWa5nFxLbp37YtEZngz4dX+0RXe/OibFwubxIba2ZvIwmEIg==","shasum":"48985fa3c89bbf09f221840779a9defefc742a18","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.6.tgz","fileCount":11,"unpackedSize":27873,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAnH+dTIQA8CNxfjkTIELfe0rwD3azDcs2zoUHMj2IiAiEA+wF6QgHoRo+pFwWcCfs0OlZLnaafJWjaXQR2/ntw/Z4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH2eCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVZA//cHKt1vvWVtI3nIIHTZnKjKomxOYzh+5ETe99XFsnZEqRDyrL\r\naHZOwQHNC6YCCzwj4akB17rP3ohdaesFaUpqU9vR89vPSS0Z7GmbmfFJ0AzC\r\nzCzHtEiEuh46H6YC76zaa4jeX1f79QIP58bdiditV8YVe7dtNGbvQgH4Ich0\r\njyMi8ImSf2PfYMUkC8qeCZI/Wkj2lFWAEP1g6Uo/D9bJzIwbfmhMuMH3+EaX\r\nGipISAUwOuMQAhP3wjHdlm5TQm/8Ab+yKAz8XEcOzXTlzB9lnjQV40PMBKka\r\nkEDZGWz71GQZ/ux7VfHFNQNClOtb4MHbP8SKke+p75uRg22m5JO21FGI6h3K\r\nf/YmwJxJDs5QHUHk3sdPBaZbjyyevgSYfnRV+dOeMvbxinrTmdKPwhFgI3uQ\r\n/VSI/6lBQ4nTeyTOsYvYnLhNUk6Fx6BEnzOKmBos9Jq5iPQk4UmGKAypGFYm\r\n0u2HTwZcpNpkpwWxGTdOiReK+F5dTMnDDxJ0X9MmZeiIjViJNwG2HCHgm+k5\r\nMKbJercvsqY0YhcLM3NzuRYEOlNNhtqACrRW5Py70lqHeFqfWBissDtqQEyN\r\nhMq88UXUv8I1AMczJU5tzOdeFWeMs2EgdhoAwdUKgcK9ZNgNLV4WeXEU8DFx\r\naIrFAdDOTXdfw28iK3D1W5hre9A5odtgsjM=\r\n=+U+g\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.6_1663002498633_0.4398375222308777"},"_hasShrinkwrap":false},"2.0.7":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.7","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.0","@types/react":"^18.0.10","@types/react-dom":"^18.0.5","husky":"^8.0.1","react":"^18.1.0","react-dom":"^18.1.0","tsdx":"^0.14.1","tslib":"^2.4.0","typescript":"^4.7.2"},"gitHead":"70f3a80ba9bc13cb99a002a5f4bc45dd60bf7ec0","_id":"flagged@2.0.7","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-O6/GGChowkX1CrIWyWRkc/Tjah8pWVkxslit0rn1oB62ojwmyCS4QlWWV967MLGUK4/Q443Ni1wi/MDib0Q0Tw==","shasum":"a672593a304124064f14f59f7413b93ac0bd13b9","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.7.tgz","fileCount":11,"unpackedSize":27873,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfHB2Eq/tDtNwUD58CGlVyuaTp4wHHjrOEGc1ImtKaOgIgYpWAi+mAs4KgbBmh41tb+QuhxXsfEA0uFsNt4F42Qy4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqgdpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1lw//WUKkuNRnXtXuOp5VjLbh1hV75dK9COJ6+2E+ajhw3Fm5ri4U\r\nei8Z/H5mii0atqpVu3HbnM9mguob7+NpDmcUfSDJa19qSj8OtdJ3YOliv+rV\r\nTVAw8Jiapv9odCcGrR5I8gRX4Xw6UNY/kP1mDy23ZQK6k91TX8/cvC5HXpkg\r\ng1P/htU77XcBJEpCWoMwsSd5ZqO7EZWKtCfs6RmuTI/Gefo4FRRsjfK+53Z5\r\nJn1L6SZE3rSSycL7TNxewMPzgurKxXtV+ignuZAlgPEAQr3MaCLxPhCloZxZ\r\ny4K0o1ZuQDq6+pbJNnDTlzYk+q4Up2VT0pR7hfr1aIU7NUhKDhBTZlTmTpEk\r\nw8EaKL8BRA7oq/A2RwB/+TnTZ5oNfC98fG7HnzvdkewXK/gigbGC19t7fsXl\r\nqqn+bKpeo8M8s44T+A8XS9MQahnAkYd5eK9WImFCZFB5BXplktbGEoOr4Imz\r\nb7exsO355Z42awugt/4212Xftq0n3sNIEAyMhLuJD5Hbvdss0XJouzWUUvvh\r\nl96bq1JRQgVDPwWYiQSlObnjYMB1KY5eOQAoVFDMRv7GQPZxtwgPI5g90hIc\r\nSqeXkjNaaHThx+Tnqcp4rrqMj5txtpy4LuCaKDm2Q6UjNwxUEZYyUWeTcGlR\r\nge1vbjTcs6FUcy6qjFmB00mE1As6icvI5Wc=\r\n=F20P\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.7_1672087401598_0.5339545478041738"},"_hasShrinkwrap":false},"2.0.8":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.8","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.0","@types/react":"^18.0.10","@types/react-dom":"^18.0.5","husky":"^8.0.1","react":"^18.1.0","react-dom":"^18.1.0","tsdx":"^0.14.1","tslib":"^2.4.0","typescript":"^4.7.2"},"gitHead":"040bb979dccb98fc9b4bbb283b752cbdaa149b54","_id":"flagged@2.0.8","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-kB3IW4Txjj2qk60f365+Ev2DzvL79yHOcRAQYscR936tw70o/VmYCOqzZf/3Anlo3L0hTKIfCsG90viTzp533A==","shasum":"c403b61bbe45a02b79c973ba3d69f278299d4a8a","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.8.tgz","fileCount":11,"unpackedSize":27873,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO8x6tkxMU/VaeC+LngCdUtlJ14AX6vtCA5bzBsNcg2AIhAKH2TB9G5NI4kXNpEIbhJ893/JRTHQtL80uHYhPvpJu6"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyNSwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpV+RAAg6XYcLFVTB00znoO6qZbxKSgf/mTtl+p8ppUq+WcUXc9S4cU\r\nylQU/TYfv1AjFYdh1ZPDzyHWX3spk6ttQOSVjYo7ZpZqIwn7c2VZ+zuaBB6u\r\n7jZ1AujM42IoNsHZYTJl0t1Rl8E/KuE/0F5uYmU0KAxEjxVcqoHlw6+ZGtID\r\nfxKzrPROYYUStwc7JRaVXnZmxxfbidOs6v0NCX3pHm1AYWOReFC2QTsoghvs\r\nx/E4Y4BtfMK8hbdMJ19Bey5EOPZi/MiAThEC982G9FAwOfdSy90fbBmMDLBa\r\nPMXPL9TzFyNiKc1WvBeXrHjYm2aiRpi0XwZCpmPeGGLIvO8iNl0oKULBqKSI\r\nDIbHLyPie9W00GxisIKyVeSkkhaeDmYQPBOR+EoYOq2+E932m4DwdEsf9oD1\r\n5SKXbIa9GPr8iF2O+gFLL26Fip/wT7S4VKhoVUCVLDu3VcrUD1d2cinaVIuP\r\nI5FPG+b/E/Hd9rX7iEeucc9KtJjS6i/v+hpO7tJ2gLtpHfNS5VoT++expw+g\r\nW7K8eEf4HpKBbsiLt1Kc81nVqTVYv1t+BmRjI/qh5AgetlE+nddnUquwjrep\r\nXriDMphinTnaqBiWbO9B0xd47Q3TckzJGOORApk9I4jNi4Td7HkBO8OOq1c7\r\n+IHbQDo3WtDguGOEA3BlW/fLf42l8QHbsGA=\r\n=cvEw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.8_1674106032631_0.3584004377026324"},"_hasShrinkwrap":false},"2.0.9":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.9","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^14.0.0","@types/jest":"^28.1.0","@types/react":"^18.0.10","@types/react-dom":"^18.0.5","husky":"^8.0.1","react":"^18.1.0","react-dom":"^18.1.0","tsdx":"^0.14.1","tslib":"^2.4.0","typescript":"^4.7.2"},"gitHead":"10aaf1291be00371fc9bf2dea6ec257f4fc69954","_id":"flagged@2.0.9","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Ot4DlLAK68OX8EKcKJfvAF6kawmyXUVJOjo/3S72cj9iD9AbCPSvylQdNOXfTlM/XOAABbkhqh+sIuEv3jijOw==","shasum":"ae18cedc36e55297d50482d2e0315935ea19714c","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.9.tgz","fileCount":11,"unpackedSize":27891,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElVe/epRbW5kyaAo0PEQnY/iCkfCjibUK2SAGVu/cn8AiEA9Ub+jRvLRDjTnuNpYC1gBdgoPc5bYC4hsUdjs/9lwW8="}]},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.9_1687791913168_0.5760681729609409"},"_hasShrinkwrap":false},"2.0.10":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"2.0.10","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged","email":"hello+flagged@sergiodxa.com"},"main":"dist/index.js","module":"dist/flagged.esm.js","typings":"dist/index.d.ts","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"scripts":{"prepublishOnly":"tsdx build","start":"tsdx watch","build":"tsdx build","test":"vitest","lint":"tsdx lint","typecheck":"tsc --noEmit"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"avoid"},"devDependencies":{"@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^14.0.0","@types/react":"^18.0.10","@types/react-dom":"^18.0.5","@vitest/coverage-v8":"^0.34.1","happy-dom":"^12.0.1","husky":"^8.0.1","react":"^18.1.0","react-dom":"^18.1.0","tsdx":"^0.14.1","tslib":"^2.4.0","typescript":"^4.7.2","vite":"^4.4.9","vitest":"^0.34.1"},"gitHead":"16cd3e4847bf08c15b71de0e32a2f424a0af50dc","_id":"flagged@2.0.10","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-yv6Y6uAOVhH+6Ob661v/SAtWqYHehsAKgKnjm9QvkWzUpI7QmTj9BblRhKReaGrDa+yA6lNZZS73Uu5l467iDA==","shasum":"8de03ac9c9595ec60dfb3592978e8d9484d3b16d","tarball":"https://registry.npmjs.org/flagged/-/flagged-2.0.10.tgz","fileCount":11,"unpackedSize":27960,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG5lJi1e1KeapAHYQ/ejvTt0pAYIu8HjO+EYpOds1p8/AiBGc6SZKZD+11AHohq24t+SBv9MXsxqgZqUTF2LJxsklQ=="}]},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_2.0.10_1695401374114_0.7007726664400784"},"_hasShrinkwrap":false},"3.0.0":{"name":"flagged","description":"Feature flags for React made easy with hooks, HOC and Render Props","version":"3.0.0","license":"MIT","engines":{"node":">=18.0.0"},"type":"module","sideEffects":false,"main":"./build/index.js","typings":"./build/index.d.ts","scripts":{"prepublishOnly":"npm run build","prepare":"npm run build","build":"tsc --project tsconfig.json --outDir ./build","postbuild":"prettier --write \"build/**/*.js\" \"build/**/*.d.ts\"","format":"prettier --write \"src/**/*.ts\" \"src/**/*.tsx\" \"test/**/*.ts\" \"test/**/*.tsx\" \"*.md\" \"package.json\"","typecheck":"tsc --project tsconfig.json --noEmit","lint":"eslint --ext .ts,.tsx src/","test":"vitest --run","test:watch":"vitest","test:coverage":"vitest --coverage","test:exports":"bun scripts/check-pkg-exports.ts"},"homepage":"https://github.com/sergiodxa/flagged","author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"bugs":{"url":"https://github.com/sergiodxa/flagged/issues"},"keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.15.2","@testing-library/jest-dom":"^6.4.2","@testing-library/react":"^14.0.0","@types/bun":"^1.0.10","@types/react":"^18.2.25","@typescript-eslint/eslint-plugin":"^7.3.1","@typescript-eslint/parser":"^7.3.1","@vitejs/plugin-react":"^4.1.0","@vitest/coverage-v8":"^1.4.0","eslint":"^8.12.0","eslint-config-prettier":"^9.0.0","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-cypress":"^2.15.1","eslint-plugin-import":"^2.28.1","eslint-plugin-jest-dom":"^5.1.0","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-prettier":"^5.0.0","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-testing-library":"^6.0.2","eslint-plugin-unicorn":"^51.0.1","happy-dom":"^14.2.0","prettier":"^3.2.5","react":"^18.0.0","typescript":"^5.2.2","vite":"^5.2.2","vitest":"^1.0.0"},"_id":"flagged@3.0.0","gitHead":"c1e9bdd1872c96077f59b3146546106cdc96874c","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-eXe54CrEQtPU5zzQ8KxTzCwcg1O6rqTv/w9Nxv/T/GUIYSHeunwv1FY6v+KJ6PJYa+yXxv5TyQDR9ahdo6PGuQ==","shasum":"5e6d88a156ece9a335d1d927371327e537f527df","tarball":"https://registry.npmjs.org/flagged/-/flagged-3.0.0.tgz","fileCount":5,"unpackedSize":11411,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNBXb7Qldos2yyet5VBBrFdEyYq5wce7ucRo0umaucwgIhAKbLLkhkt3q758AvvZrbxpC+ABIdRQlO5ap4hJTA92gs"}]},"_npmUser":{"name":"sergiodxa","email":"sergiodxa@gmail.com"},"directories":{},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flagged_3.0.0_1710999374264_0.005925513990221898"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-25T19:24:01.237Z","1.0.0":"2019-10-25T19:24:01.638Z","modified":"2024-03-21T05:36:14.886Z","1.0.1":"2019-10-25T19:40:19.234Z","1.1.0":"2019-11-24T22:47:40.680Z","1.1.1":"2020-06-13T03:48:27.103Z","2.0.0":"2020-06-13T04:25:06.870Z","2.0.1":"2020-06-13T04:29:06.201Z","2.0.2":"2022-03-14T21:01:21.387Z","2.0.3":"2022-03-23T23:34:32.391Z","2.0.4":"2022-06-02T18:35:26.150Z","2.0.5":"2022-07-13T20:32:54.541Z","2.0.6":"2022-09-12T17:08:18.803Z","2.0.7":"2022-12-26T20:43:21.747Z","2.0.8":"2023-01-19T05:27:12.776Z","2.0.9":"2023-06-26T15:05:13.391Z","2.0.10":"2023-09-22T16:49:34.325Z","3.0.0":"2024-03-21T05:36:14.431Z"},"maintainers":[{"name":"sergiodxa","email":"sergiodxa@gmail.com"}],"description":"Feature flags for React made easy with hooks, HOC and Render Props","homepage":"https://github.com/sergiodxa/flagged","keywords":["react","feature flags","flags","features","hooks","hoc","high order component","render props","typescript","types"],"repository":{"type":"git","url":"git+https://github.com/sergiodxa/flagged.git"},"author":{"name":"Sergio Xalambrí","email":"hello@sergiodxa.com","url":"https://sergiodxa.com"},"bugs":{"url":"https://github.com/sergiodxa/flagged/issues"},"license":"MIT","readme":"# Flagged\n\n> ### Feature flags for React made easy with hooks, HOC and Render Props\n\n## Features\n\n- Hooks API\n- High Order Component API\n- Render Props API\n- TypeScript Support\n- Zero Dependencies\n- Nested Flags\n\n## How to Use It\n\nInstall it from npm.\n\n```bash\nyarn add flagged\n# npm i flagged\n```\n\nImport the `FlagsProvider` in your code and wrap your application around it.\n\n```tsx\nimport { createRoot } from \"react-dom/client\";\nimport { FlagsProvider } from \"flagged\";\n\nimport { App } from \"./components/app\";\n\ncreateRoot(document.getElementById(\"root\")!).render(\n\t<FlagsProvider features={{ v2: true }}>\n\t\t<App />\n\t</FlagsProvider>,\n);\n```\n\nNow use `useFeature`, `withFeature` or `Feature` to check if the feature is enabled in your application:\n\n### Features Valid Values\n\nThe features prop you pass to `FlagsProvider` could be an array of strings or an object, if you decide to use an object you could also pass nested objects to group feature flags together.\n\n**Using an Array**\n\n```tsx\ncreateRoot(document.getElementById(\"root\")!).render(\n\t<FlagsProvider features={[\"v2\", \"moderate\"]}>\n\t\t<App />\n\t</FlagsProvider>,\n);\n```\n\n**Using an Object**\n\n```tsx\ncreateRoot(document.getElementById(\"root\")!).render(\n\t<FlagsProvider features={{ v2: true, moderate: false }}>\n\t\t<App />\n\t</FlagsProvider>,\n);\n```\n\n**Using Nested Objects**\n\n```tsx\ncreateRoot(document.getElementById(\"root\")!).render(\n\t<FlagsProvider\n\t\tfeatures={{ v2: true, content: { moderate: true, admin: false } }}\n\t>\n\t\t<App />\n\t</FlagsProvider>,\n);\n```\n\nIf you use nested objects you will need to either use the `useFeatures` hook or pass a string separated by `/`, e.g. `content/moderate` to read nested flags, if you don't pass the whole path you will get an object so `content` will return `{ moderate: false }` when reading it.\n\n### `useFeature` Custom Hook\n\nThe `useFeature` custom hook is the base for the HOC and Render Prop implementation, it lets you check if a single feature is enabled and get a boolean, then you can do anything you want with that value, uesful to use it in combination with other hooks like useEffect or to show two different UIs based on a feature being enabled or not.\n\n```tsx\nimport { useFeature } from \"flagged\";\n\nexport function Header() {\n\tconst hasV2 = useFeature(\"v2\");\n\n\treturn <header>{hasV2 ? <h1>My App v2</h1> : <h1>My App v1</h1>}</header>;\n}\n```\n\n### `withFeature` High Order Component\n\nThis `withFeature` high order component let's you wrap a component behind a feature flag, this way the parent component using your wrapped component doesn't need to know anything about the feature flag. This is useful when you don't need to provide a fallback if the feature is disabled, e.g. for admin pieces of UI or new features you want to hide completely.\n\n```tsx\nimport { withFeature } from \"flagged\";\n\nexport const Heading = withFeature(\"newHeading\")(function Heading() {\n\treturn <h1>My App v2</h1>;\n});\n```\n\n### `Feature` Render Prop\n\nThe `Feature` component works using the render prop pattern and as a wrapper. This component is useful if you want to hide an specific part of a component behind a feature flag but don't want to wrap the whole component.\n\nPass the name of the feature you want to check for and a children value and it will not render the children if the feature is enabled.\n\n```tsx\nimport { Feature } from \"flagged\";\n\nexport function Header() {\n\treturn (\n\t\t<header>\n\t\t\t<Feature name=\"v2\">\n\t\t\t\t<h1>My App v2</h1>\n\t\t\t</Feature>\n\t\t</header>\n\t);\n}\n```\n\nAnother option is to pass a function as children and get a boolean if the feature is enabled, this way you can render two different pieces of UI based on the feature being enabled or not.\n\n```tsx\nimport { Feature } from \"flagged\";\n\nexport function Header() {\n\treturn (\n\t\t<header>\n\t\t\t<Feature name=\"v2\">\n\t\t\t\t{(isEnabled) => (isEnabled ? <h1>My App v2</h1> : <h1>My App v1</h1>)}\n\t\t\t</Feature>\n\t\t</header>\n\t);\n}\n```\n\nIn both cases you could also send a `render` prop instead of `children`.\n\n```tsx\nimport { Feature } from \"flagged\";\n\nexport function Header() {\n\treturn (\n\t\t<header>\n\t\t\t<Feature name=\"v2\" render={<h1>My App v2</h1>} />\n\t\t</header>\n\t);\n}\n```\n\n```tsx\nimport { Feature } from \"flagged\";\n\nexport function Header() {\n\treturn (\n\t\t<header>\n\t\t\t<Feature\n\t\t\t\tname=\"v2\"\n\t\t\t\trender={(isEnabled) =>\n\t\t\t\t\tisEnabled ? <h1>My App v2</h1> : <h1>My App v1</h1>\n\t\t\t\t}\n\t\t\t/>\n\t\t</header>\n\t);\n}\n```\n\n### `useFeatures` Custom Hook\n\nThe `useFeatures` custom hook is the base for the `useFeature` custom hook, it gives you the entire feature flags object or array you sent to `FlagsProvider` so you could use it however you want.\n\n```tsx\nimport { useFeatures } from \"flagged\";\n\nexport function Header() {\n\tlet features = useFeatures();\n\n\treturn (\n\t\t<header>{features.v2 ? <h1>My App v2</h1> : <h1>My App v1</h1>}</header>\n\t);\n}\n```\n","readmeFilename":"README.md"}