{"_id":"@weston/react-world-flags","_rev":"6-3261b8378aaefb3a02283e430417ff9c","time":{"created":"2022-12-03T01:28:08.863Z","1.5.1":"2022-12-02T21:18:37.481Z","modified":"2022-12-04T00:31:49.354Z","1.5.2":"2022-12-03T01:28:09.222Z","1.5.3":"2022-12-03T04:09:51.955Z","1.5.4":"2022-12-03T11:01:43.201Z","2.0.0":"2022-12-04T00:31:49.265Z"},"name":"@weston/react-world-flags","dist-tags":{"latest":"2.0.0"},"versions":{"1.5.2":{"name":"@weston/react-world-flags","version":"1.5.2","description":"SVG flags of the world for react","type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/src/index.js","types":"./types/index.d.ts","exports":{"types":"./types/index.d.ts","import":"./dist/esm/src/index.js","require":"./dist/cjs/index.js","default":"./dist/cjs/index.js"},"jest":{"moduleNameMapper":{"\\.(svg)$":"<rootDir>/src/__mocks__/fileMock.js"}},"repository":{"type":"git","url":"git+https://github.com/smucode/react-world-flags.git"},"keywords":["react","reactjs","world","flag","flags","svg"],"author":{"name":"SMU"},"license":"MIT","bugs":{"url":"https://github.com/smucode/react-world-flags/issues"},"homepage":"https://github.com/smucode/react-world-flags#readme","dependencies":{"svg-country-flags":"^1.2.10","svgo":"^2.8.0"},"peerDependencies":{"react":">=0.14"},"devDependencies":{"@babel/cli":"^7.17.10","@babel/core":"^7.17.10","@babel/node":"^7.17.10","@babel/preset-env":"^7.17.10","@babel/preset-react":"^7.16.7","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^23.0.2","@rollup/plugin-image":"^3.0.1","@rollup/plugin-json":"^5.0.1","@rollup/plugin-node-resolve":"^15.0.1","jest":"^28.1.0","pako":"^2.1.0","react":"^18.1.0","react-dom":"^18.1.0","react-test-renderer":"^18.1.0","rollup":"^3.4.0","sharp":"^0.31.2","world-countries":"^4.0.0"},"scripts":{"test":"jest","build":"rollup -c rollup.config.mjs","gen":"npm run gen-country-codes && npm run gen-svg-flags && npm run gen-raster-flags && npm run gen-country-flags","gen-svg-flags":"babel-node scripts/genFlagExports.js","gen-raster-flags":"node --experimental-json-modules scripts/genRasterFlags.mjs","gen-country-flags":"node --experimental-json-modules scripts/genCountryFlags.mjs","gen-country-codes":"node --experimental-json-modules scripts/genCountryCodes.mjs","pre-publish":"npm run compress && npm run gen && npm run test && npm run build","compress":"rm -f ./src/svgs/* && npx svgo --multipass -f node_modules/svg-country-flags/svg/ ./src/svgs && (cd ./src/svgs && sed -i -e \"s/-inkscape-font-specification:'Narkisim, Normal'//g\" *) && cp node_modules/svg-country-flags/svg/si.svg ./src/svgs","nocompress":"cp node_modules/svg-country-flags/svg/*.svg ./src/svgs"},"gitHead":"ced2a218104f0b3f1270cbd5326fcb7b4ca99869","_id":"@weston/react-world-flags@1.5.2","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-NgrE8sM9D9xeLUKmmxBhJ+Di4rB3eAWh4COFA1AWGt2fajnFAG5cixCrs1kt9OUvOfod7LV4ZrG1o1YgmDoIaA==","shasum":"686f1358adb201d1842a4dfa2ce6441e5ab75ad2","tarball":"https://registry.npmjs.org/@weston/react-world-flags/-/react-world-flags-1.5.2.tgz","fileCount":285,"unpackedSize":6999747,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICfRw0f3eXe+zGuzCxza3zXLN6u5JlmmgxjyK4Rzg2E0AiEA3QUMESsHgF1wAskvwgpZ/9/fBYB1u1iPgSYlRQV/O4o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiqYpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNdw//ShUNGYlx2DXJFjoh6rC5p1hFy4vsfMxzWd9kAt7Pb7D78aCM\r\nsBszva72hIX2CZ2tM7cupqOMaHktnYmoFhbL66H+dZlo7a1VJG0lFdOrOhxk\r\njzNok3hchs5FPQ8DbD2TFMvWjlWvhSxxHl4LW8m7nv0Ds4SaX/RomwgJY9c3\r\nnG84tMmhx+LyuyRGhcF5z3gJRZffQxv0sZY2zvvZb2fsrbXS1kCYn4CcOjaT\r\nt5ZFpl6LPJm6DewOkpeV7PJuGMCCXwTv2yjOWVOiSdPNwVVNRslHEp6ipygs\r\neN8wsJ1l+HcX42jsjGVJdLMVbfJhwhj/LRlt4ODFvUgLxHLj/QQ6WIMP+EsQ\r\n6CnPt7mmmSn8Nwm7gziMQx7UPY9d1eGgj7VmynrOXxOhXmRlCW3wFuVhRAf+\r\nvhG9RJIsqqXmCF989dbDCJESj6xDmbRdwgGox2oKLjMlRAMjZ5MVj3oIQxCD\r\nLY5clv17SbkrkOG1AhKXiJSRsANVwjqIph7tQVIFK4t38Bb0xT1IUxSTrO++\r\naaMWyFoHeiQ0ZyP8dXwSk2whqcb5aFpB6OCC7uK4JbMesQFa+bgAiOhv2yP0\r\noA6H4XJgvcNg2mnJV2iS0LfSXJj7joY8dCNYjeMiIUUAaeCH7etTnXhiZEU7\r\n1ZCX9ERGyyaj6/ND0don45mYnK4hjZAuq2o=\r\n=8dUG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"weston","email":"westons@gmail.com"},"directories":{},"maintainers":[{"name":"weston","email":"westons@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-world-flags_1.5.2_1670030888922_0.9874714140296199"},"_hasShrinkwrap":false},"1.5.3":{"name":"@weston/react-world-flags","version":"1.5.3","description":"SVG flags of the world for react","type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/src/index.js","types":"./types/index.d.ts","exports":{"types":"./types/index.d.ts","import":"./dist/esm/src/index.js","require":"./dist/cjs/index.js","default":"./dist/cjs/index.js"},"jest":{"moduleNameMapper":{"\\.(svg)$":"<rootDir>/src/__mocks__/fileMock.js"}},"repository":{"type":"git","url":"git+https://github.com/smucode/react-world-flags.git"},"keywords":["react","reactjs","world","flag","flags","svg"],"author":{"name":"SMU"},"license":"MIT","bugs":{"url":"https://github.com/smucode/react-world-flags/issues"},"homepage":"https://github.com/smucode/react-world-flags#readme","dependencies":{"svg-country-flags":"^1.2.10","svgo":"^2.8.0"},"peerDependencies":{"react":">=0.14"},"devDependencies":{"@babel/cli":"^7.17.10","@babel/core":"^7.17.10","@babel/node":"^7.17.10","@babel/preset-env":"^7.17.10","@babel/preset-react":"^7.16.7","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^23.0.2","@rollup/plugin-image":"^3.0.1","@rollup/plugin-json":"^5.0.1","@rollup/plugin-node-resolve":"^15.0.1","jest":"^28.1.0","pako":"^2.1.0","react":"^18.1.0","react-dom":"^18.1.0","react-test-renderer":"^18.1.0","rollup":"^3.4.0","sharp":"^0.31.2","world-countries":"^4.0.0"},"scripts":{"test":"jest","build":"rollup -c rollup.config.mjs","gen":"npm run gen-country-codes && npm run gen-svg-flags && npm run gen-raster-flags && npm run gen-country-flags","gen-svg-flags":"babel-node scripts/genFlagExports.js","gen-raster-flags":"node --experimental-json-modules scripts/genRasterFlags.mjs","gen-country-flags":"node --experimental-json-modules scripts/genCountryFlags.mjs","gen-country-codes":"node --experimental-json-modules scripts/genCountryCodes.mjs","pre-publish":"npm run compress && npm run gen && npm run test && npm run build","compress":"rm -f ./src/svgs/* && npx svgo --multipass -f node_modules/svg-country-flags/svg/ ./src/svgs && (cd ./src/svgs && sed -i -e \"s/-inkscape-font-specification:'Narkisim, Normal'//g\" *) && cp node_modules/svg-country-flags/svg/si.svg ./src/svgs","nocompress":"cp node_modules/svg-country-flags/svg/*.svg ./src/svgs"},"gitHead":"733c6712ceb52dc8888331162009084668dee955","_id":"@weston/react-world-flags@1.5.3","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-DRV4fDwZdAdb349RFzx5hAnUo+9cH9InQixPr3EuX0EpAnulGfYxoPPZY35NO/LCXrv2OP3lOpFuYfUwZcCoww==","shasum":"6551407a947d8760332818010b8fe47b36983351","tarball":"https://registry.npmjs.org/@weston/react-world-flags/-/react-world-flags-1.5.3.tgz","fileCount":285,"unpackedSize":6999891,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0Tdk9Q+X//vHOwjpQSPQd0uADf8SLxQPgvEGx38ybHwIgJeTkBcB9QC3YZwCyAZOeTTfbchz2IYo/GKlYUo06ijg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiswPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYaQ//c2+Yy/GL5u0oSEdYS/7P+VJkyGj2f/tHXSzYSF17K4COqZi+\r\nM9HNxNuAhAWhNzUJHFlR/6AON7kPUhUFaFAV803fhT/uh69IY/k5rv5n/0QG\r\n4+bU1PUY0+au7A7NokWLMGoH0nB1gx8im9giYpt20YoFMEU9XveSiMrxNIwN\r\noU6bjjrCaOsKEoTIXFlCl5cf2SEQrU8YZZx06J1+s2rihhiU2FgkImryUx9f\r\n8I2qpoldFkCBhD+hXATVzama8R89gspwsm/yW6r9CzEnvUqINtuDP+qOjbNN\r\nM26uYmAcFc2KeL/3R5/iIMcjtqheVF1Wp1WFYjxXpBMtvq1WwRuRaR0udxYm\r\nE+9fiJDqI8/NtJuN3JXL9+TSPwfldV4DhBw2kAus+XlKjMCuWZ1JyKzonwLu\r\nIyDsDgVzKL1qMy4UipJShSDLhKFBIopNexzF2xU6mCcFlrg3AP7PCxLP0dPp\r\nJ3C3Pvtn/4j1n7i85HPpbNSPYVPW4dJ4SA6+AayawP5Ocz9hSLEvOFJTUmhx\r\nZiB8xYk/p00cUCxLXfdZTuGhryDiHEqd5R/frvMnln28Vba0Y3lqh1ippiVU\r\n4ZQ2uwEJ5i4ZAujoRgare97qA5ZOoiFIyDaZxoSz/EiUo37dH6VG4YY+neyC\r\nI6m/3uNY5mrN2lLczcl7zEI6az427PvzqRE=\r\n=fXKs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"weston","email":"westons@gmail.com"},"directories":{},"maintainers":[{"name":"weston","email":"westons@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-world-flags_1.5.3_1670040591703_0.3141256708699578"},"_hasShrinkwrap":false},"1.5.4":{"name":"@weston/react-world-flags","version":"1.5.4","description":"SVG flags of the world for react","type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/src/index.js","types":"./types/index.d.ts","exports":{"types":"./types/index.d.ts","import":"./dist/esm/src/index.js","require":"./dist/cjs/index.js","default":"./dist/cjs/index.js"},"jest":{"moduleNameMapper":{"\\.(svg)$":"<rootDir>/src/__mocks__/fileMock.js"}},"repository":{"type":"git","url":"git+https://github.com/smucode/react-world-flags.git"},"keywords":["react","reactjs","world","flag","flags","svg"],"author":{"name":"SMU"},"license":"MIT","bugs":{"url":"https://github.com/smucode/react-world-flags/issues"},"homepage":"https://github.com/smucode/react-world-flags#readme","dependencies":{"svg-country-flags":"^1.2.10","svgo":"^2.8.0"},"peerDependencies":{"react":">=0.14"},"devDependencies":{"@babel/cli":"^7.17.10","@babel/core":"^7.17.10","@babel/node":"^7.17.10","@babel/preset-env":"^7.17.10","@babel/preset-react":"^7.16.7","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^23.0.2","@rollup/plugin-image":"^3.0.1","@rollup/plugin-json":"^5.0.1","@rollup/plugin-node-resolve":"^15.0.1","jest":"^28.1.0","pako":"^2.1.0","react":"^18.1.0","react-dom":"^18.1.0","react-test-renderer":"^18.1.0","rollup":"^3.4.0","sharp":"^0.31.2","world-countries":"^4.0.0"},"scripts":{"test":"jest","build":"rollup -c rollup.config.mjs","gen":"npm run gen-country-codes && npm run gen-svg-flags && npm run gen-raster-flags && npm run gen-country-flags","gen-svg-flags":"babel-node scripts/genFlagExports.js","gen-raster-flags":"node --experimental-json-modules scripts/genRasterFlags.mjs","gen-country-flags":"node --experimental-json-modules scripts/genCountryFlags.mjs","gen-country-codes":"node --experimental-json-modules scripts/genCountryCodes.mjs","pre-publish":"npm run compress && npm run gen && npm run test && npm run build","compress":"rm -f ./src/svgs/* && npx svgo --multipass -f node_modules/svg-country-flags/svg/ ./src/svgs && (cd ./src/svgs && sed -i -e \"s/-inkscape-font-specification:'Narkisim, Normal'//g\" *) && cp node_modules/svg-country-flags/svg/si.svg ./src/svgs","nocompress":"cp node_modules/svg-country-flags/svg/*.svg ./src/svgs"},"gitHead":"5583532c57da6f748a23f50481aa45f4cf9ff16e","_id":"@weston/react-world-flags@1.5.4","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-7NK4jDDzESRCiZDvVORew5N+gABoaEDo15lOvztw51N5RxsQ4R/pv1XKg8t8Lopz19vJXh9AX06TpZhLTWC+Xg==","shasum":"dcac705f6867dd00d8634b7323ca374f42acff74","tarball":"https://registry.npmjs.org/@weston/react-world-flags/-/react-world-flags-1.5.4.tgz","fileCount":488,"unpackedSize":7758430,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFeJihXxFcwNGmCINn7AmOBpMIhCN+jg4oTSW27Fka/wIgG0uQRyeQTZU1tRZ672oJRVa0GZik8PCtUhWkpU+WI50="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiyyXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRfg/9GeEkXQK3y9iQiF1BybkDC8qzlbN2927eEl2aBiS0umdCflCZ\r\n1/3Kl/kC40HOaICAznT9r71gt7sdYQCy1/qrOTbYamd2baKyWtlpShHlSIG5\r\nm3vx6Kv4lXNRwh1u3KN6C2z70cK7S1VEP1xcb/Tvixtfrg2QG+91Zu05V9Cc\r\nDw0TjVr8PZuHGVtWBEmw6eZazcZuucItyAGPfx74hzjPRH3alUy3gUvvK/Ig\r\nH43uvW1zOLScB+2RPXub2F/Y2OpICacoc/B4Hx6t5RLy1W5VjDQApOGSkjn+\r\npHdf3biRDzOegDRx9Cmglnk5sYrLilZvr1Q0tDgt6fNO3FEMgy1hBdzuVxM1\r\ndexkCBphFhSc0jVZYwbAnruSHwRT4IjGSc5LaGAkv784DJzjN/bkom8yVrRZ\r\n2aO8S/gJ380o2v8+IIUR21PsYQrAJ5VjdWWIfOfNz+KRYBzQhKsQ/uafv35Q\r\nlJc90PmzknNXheBFoFKY7cfK3QUSfEEO+G5jqdnUMF15irTVHc7qQLVXgYr2\r\nvlAhhK0Sg5ZViEufbLDktJDnaB5uj6MhPW2yjG1dGA8PBhiox8tYOpX4cWUF\r\n82MEaZjzqcNEe5UVdIoa7rapLL9XI3MgV/a3SEUIk7kXwh8zm8OP0+EAZjgi\r\nXr72qT9LGdHs3veEjDwId7Z3qWdpHwwtpcI=\r\n=tL2C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"weston","email":"westons@gmail.com"},"directories":{},"maintainers":[{"name":"weston","email":"westons@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-world-flags_1.5.4_1670065302926_0.9092794401972215"},"_hasShrinkwrap":false},"2.0.0":{"name":"@weston/react-world-flags","version":"2.0.0","description":"SVG flags of the world for react","type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/src/index.js","types":"./types/index.d.ts","exports":{"types":"./types/index.d.ts","import":"./dist/esm/src/index.js","require":"./dist/cjs/index.js","default":"./dist/cjs/index.js"},"jest":{"moduleNameMapper":{"\\.(svg)$":"<rootDir>/src/__mocks__/fileMock.js"}},"repository":{"type":"git","url":"git+https://github.com/wsiegenthaler/react-world-flags.git"},"keywords":["react","reactjs","world","flag","flags","svg"],"author":{"name":"SMU"},"license":"MIT","bugs":{"url":"https://github.com/wsiegenthaler/react-world-flags/issues"},"homepage":"https://github.com/wsiegenthaler/react-world-flags#readme","dependencies":{"svg-country-flags":"^1.2.10","svgo":"^2.8.0"},"peerDependencies":{"react":">=0.14"},"devDependencies":{"@babel/cli":"^7.17.10","@babel/core":"^7.17.10","@babel/node":"^7.17.10","@babel/preset-env":"^7.17.10","@babel/preset-react":"^7.16.7","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^23.0.2","@rollup/plugin-image":"^3.0.1","@rollup/plugin-json":"^5.0.1","@rollup/plugin-node-resolve":"^15.0.1","jest":"^28.1.0","pako":"^2.1.0","react":"^18.1.0","react-dom":"^18.1.0","react-test-renderer":"^18.1.0","rollup":"^3.4.0","rollup-plugin-sourcemaps":"^0.6.3","sharp":"^0.31.2","world-countries":"^4.0.0"},"scripts":{"test":"jest","build":"rollup -c rollup.config.mjs","gen":"npm run gen-country-codes && npm run gen-svg-flags && npm run gen-raster-flags && npm run gen-country-flags","gen-svg-flags":"babel-node scripts/genFlagExports.js","gen-raster-flags":"node --experimental-json-modules scripts/genRasterFlags.mjs","gen-country-flags":"node --experimental-json-modules scripts/genCountryFlags.mjs","gen-country-codes":"node --experimental-json-modules scripts/genCountryCodes.mjs","pre-publish":"npm run compress && npm run gen && npm run test && npm run build","compress":"rm -f ./src/svgs/* && npx svgo --multipass -f node_modules/svg-country-flags/svg/ ./src/svgs && (cd ./src/svgs && sed -i -e \"s/-inkscape-font-specification:'Narkisim, Normal'//g\" *) && cp node_modules/svg-country-flags/svg/si.svg ./src/svgs","nocompress":"cp node_modules/svg-country-flags/svg/*.svg ./src/svgs"},"gitHead":"b25a60152861b59adb246b360e8eeed20352c1f7","_id":"@weston/react-world-flags@2.0.0","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-v9b9krzAX60JbKRLaK9ZWj/TPFAWNu3cDVYKkS9tFMEOkMYsWFZJ6M99ZNZb9Ap98qrxkU1y0CsAqLi9RWIUng==","shasum":"9b9cc92dc2df5ddd5d48e081b251d6999d92baca","tarball":"https://registry.npmjs.org/@weston/react-world-flags/-/react-world-flags-2.0.0.tgz","fileCount":2782,"unpackedSize":32579380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpByedrl8GUzMN4zqthKOKkUTHzXhR99GUFqswKz+GFgIhAN1Yr5e6ajTJmQmHARXXY0fzwr8SBIM7BJJQQSgtjmMb"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJji+p1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+Vw//SZDClaN+t87nYncE3M8v7FnzI4hOURDRLiiKEsqC/q+BCFYp\r\nye9pC6MeNjDpIvdgcURVNVesztrBoTYrxrhIbMxJzIi5kCkCuiRWMUHDfVBO\r\njMzAblGKg3Nr/wpRBOMpJfIQVxv6VjeUrMPnVDtYlTXT8K0/uN3pU4pNwCxx\r\nA8E2eqODrdxkX+fQ2TuiX7IlzxylBfs66VHK2cpaVtxG3KWs23A+ibmA/lkw\r\nf9cJj6ijs3K2qXVbZnDDQ0Lc8lESXq/oU6W25pLUBjDLE0u+HA7ktAXGzSZA\r\nqqKlzUWiisqMH8GSgLw/5pTtGldZX3k0XXmEeQmV+P6h6YvSdotEUOxS5Ub4\r\nxaU1XjglBYShRbXnref6VVVkT1lWQBwzsgFIZG6Ezsm10fC2sLsiqe7HzlAY\r\nkVI5CTG9Ds+JpdSNhStHcDHV4bbkBmDyhOot+4j0nmfiSuWswwkKtKB1Atqu\r\nMPOX9Jx371SY9bMV4ix17JSaZRG4esiePZfno3EkVJlzapR3fDwmYoGXt2vB\r\nFQsnlViCe/D/txj8WURVZ6mR4D5HbvGsyosUE70ZpYlDH+MCMd7NFEQGQlFc\r\nZ0z+PgzYLTCOoJUW52NNX3mzL0Bb6Tqb8KHKEf46OdMfxaTQqK4urCCuDLIF\r\ntrdNQ/nBOLqAI1d7/wW9K2wObtWB4PY4rMM=\r\n=EIK7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"weston","email":"westons@gmail.com"},"directories":{},"maintainers":[{"name":"weston","email":"westons@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-world-flags_2.0.0_1670113908792_0.16615667874805995"},"_hasShrinkwrap":false}},"maintainers":[{"name":"weston","email":"westons@gmail.com"}],"description":"SVG flags of the world for react","homepage":"https://github.com/wsiegenthaler/react-world-flags#readme","keywords":["react","reactjs","world","flag","flags","svg"],"repository":{"type":"git","url":"git+https://github.com/wsiegenthaler/react-world-flags.git"},"author":{"name":"SMU"},"bugs":{"url":"https://github.com/wsiegenthaler/react-world-flags/issues"},"license":"MIT","readme":"[![CircleCI](https://circleci.com/gh/smucode/react-world-flags.svg?style=svg)](https://circleci.com/gh/smucode/react-world-flags)\n\n> **Attention!**  This is a fork of `react-world-flags` and provides two alternative methods of usage which can greatly reduce bundle size when using ESM-friendly bundlers: [Cherry-Picking](#option-1-cherry-picking) and [Raster Flags](#option-2-raster-flags)\n\n# react-world-flags\n\nEasy to use SVG flags of the world for react\n\n[Demo](https://smucode.github.io/react-world-flags/)\n\n## Installation\n\n```\nnpm install --save @weston/react-world-flags\n```\n\n## Usage\n\n```jsx\nimport Flag from '@weston/react-world-flags'\n\n<Flag code={ code } />\n```\n\nWhere `code` is the [two letter](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), [three letter](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) or [three digit](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) country code.\n\nYou can also pass an optional `fallback` which renders if the given code doesn't correspond to a flag:\n\n```jsx\nimport Flag from '@weston/react-world-flags'\n\n<Flag code=\"foo\" fallback={ <span>Unknown</span> } />\n```\n\nAll props but `code` and `fallback` are passed through to the rendered `img`\n\n```jsx\n<Flag code=\"nor\" height=\"16\" />\n\n// <img src=\"data:image/svg+xml...\" height=\"16\">\n```\n\nSVG's are inlined using [Data_URIs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).\n\n## Alternative Usage\n\nBy default, bundlers will include all flags provided by this library which will add about 1.2 MB gzipped to your application.\n\nThis fork (`@weston/react-world-flags`) provides two alternative methods of usage which can greatly reduce bundle size when using ESM-friendly bundlers: **Cherry-Picking** and **Raster Flags**\n\n### Option 1: Cherry-Picking\n\nImport just the flags needed for your application. This is useful for scenarios in which you only need a small subset of available flags and don't need to look them up by country code. Unused flags should automatically be omitted by your bundler via static analysis (tree-shaking).\n\n```jsx\n// Only import flags for USA and Canada\nimport { FlagUS, FlagCA } from '@weston/react-world-flags'\n\n<FlagUS />\n<FlagCA />\n```\n\n### Option 2: Raster Flags\n\nSubstitute default SVG flags with raster versions for flags having large amounts of detail (highly detailed images are generally more compact when represented as bitmaps). This approach automatically replaces these flags with WebP versions which can significantly reduce bundle size. Use this for scenarios where your application still needs the entire catalog of flags but having flags of fixed size is acceptable (e.g. icons).\n\nThe following example will produce either an SVG or WebP (of height 128px) depending on which is more compact given a particular country's flag:\n```jsx\nimport { Flag128 as Flag } from '@weston/react-world-flags'\n\n// Mexico's flag is detailed and always smaller as WebP\n<Flag code=\"mx\" />\n// result: <img src=\"data:image/webp...\" height=\"128\">\n\n// Japan's flag is simple and always smaller as SVG\n<Flag code=\"jp\" />\n// result: <img src=\"data:image/svg+xml...\" height=\"128\">\n\n// Still able to customize image height\n<Flag code=\"mx\" height=\"100\" />\n// result: <img src=\"data:image/webp...\" height=\"100\">\n```\n\nRasters are available in 32px, 64px, 128px, 256px, and 512px versions (i.e. `Flag32`, `Flag64`, `Flag128`, `Flag256`, or `Flag512`).\n\n#### Bundle Footprint\n\n| Import | Image Type | Bundle Size (gzip) |\n|:------:|:----------:|:--------------------:|\n| `Flag` | Default, SVG | 1.18 MB |\n| `{ Flag512 }` | SVG or WebP (512px) | 0.80 MB (68%) |\n| `{ Flag256 }` | SVG or WebP (256px) | 0.52 MB (44%) |\n| `{ Flag128 }` | SVG or WebP (128px) | 0.30 MB (26%) |\n| `{ Flag64 }`  | SVG or WebP (64px) | 0.19 MB (16%) |\n| `{ Flag32 }`  | SVG or WebP (32px) | 0.13 MB (11%) |\n","readmeFilename":"README.md"}