{"_id":"@cyber_squad_inc/world-locations","_rev":"9-bd77027da4627e0273e9edfc7393802d","name":"@cyber_squad_inc/world-locations","dist-tags":{"latest":"1.1.6"},"versions":{"1.0.0":{"name":"@cyber_squad_inc/world-locations","version":"1.0.0","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","applygoal"],"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","_id":"@cyber_squad_inc/world-locations@1.0.0","maintainers":[{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},{"name":"jrsakif","email":"jrsakif@gmail.com"}],"homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"dist":{"shasum":"9bca4e607d53b96f21d14bf9c9f361cfe843ade0","tarball":"https://registry.npmjs.org/@cyber_squad_inc/world-locations/-/world-locations-1.0.0.tgz","fileCount":260,"integrity":"sha512-mb9FakuushJfxvMcebdnLWfBVdmDt3B/VkkIOWjDeg2jieg9VYWtrrEi+bPba2l9xtmNPuP+wKpUyft0wybh5Q==","signatures":[{"sig":"MEQCIH+NSGRFjAvTlSjrtJM7F4sIi57+uzQhs+iulWkgmqi/AiBme482W0XO4O8/JyTL52daLzgkd+0i+6+B3pSDEEhdOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36542066},"main":"src/index.ts","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./src/index.ts"}},"gitHead":"f0a0bb5f23a2fa0950c127baf98bd7d29e63f739","scripts":{"merge":"node src/merge.js","start":"npm run build:full && npm run merge","validate":"node --loader ts-node/esm src/validate.ts","build:full":"node src/build-world-locations.js","build:types":"tsc","prepublishOnly":"npm run start && npm run build:types"},"_npmUser":{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"_npmVersion":"10.9.3","description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc for ApplyGoal.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.4","dotenv":"^16.4.5","p-queue":"^7.4.1","cli-progress":"^3.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^24.8.0"},"_npmOperationalInternal":{"tmp":"tmp/world-locations_1.0.0_1760642438604_0.6076317856211595","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@cyber_squad_inc/world-locations","version":"1.1.0","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","cyber-squad-inc"],"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","_id":"@cyber_squad_inc/world-locations@1.1.0","maintainers":[{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},{"name":"jrsakif","email":"jrsakif@gmail.com"}],"homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"dist":{"shasum":"8e88914095529f0070f6c2034640f9c31dbf77da","tarball":"https://registry.npmjs.org/@cyber_squad_inc/world-locations/-/world-locations-1.1.0.tgz","fileCount":11,"integrity":"sha512-7lWh6dxhTFOhQqt3IP1Gg2KcxDZ9K0aoZwd8yNiDp4Us5XrdfY670yL7oCSdW1k6Q98WtAJS68wI26p3PaznOQ==","signatures":[{"sig":"MEQCIAWmhNYfcps79IgMwq4C/jCte9vovZkeHPhLOILR2FinAiB/+hK6FljYZ1hgdhcRZ3VbEndwCYrspJyxMn2MuW7uOQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3499775},"main":"src/index.ts","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./src/index.ts"}},"gitHead":"cf6e24dacabdb5efabc9d13d3730a51c889ee40e","scripts":{"merge":"node src/merge.js","start":"npm run build:full && npm run merge","validate":"node --loader ts-node/esm src/validate.ts","build:full":"node src/build-world-locations.js","build:types":"tsc","prepublishOnly":"npm run start && npm run build:types && rm -rf out/countries"},"_npmUser":{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"_npmVersion":"10.9.3","description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^3.23.8","axios":"^1.7.4","dotenv":"^16.4.5","p-queue":"^7.4.1","cli-progress":"^3.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"gzipper":"^8.2.1","ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^24.8.0","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/world-locations_1.1.0_1760645659155_0.8044842533037231","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@cyber_squad_inc/world-locations","version":"1.1.1","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","cyber-squad-inc"],"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","_id":"@cyber_squad_inc/world-locations@1.1.1","maintainers":[{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},{"name":"jrsakif","email":"jrsakif@gmail.com"}],"homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"dist":{"shasum":"de41f56ad6ba23974d57828f2d9c41b7e5f31399","tarball":"https://registry.npmjs.org/@cyber_squad_inc/world-locations/-/world-locations-1.1.1.tgz","fileCount":8,"integrity":"sha512-S87LPgZzWZvfqYCmbBeTXUSQSsnnuemHyWa/oD5IfpbNFQ79YmOHqlMfYqMJl8FrywghEDic5mCUecoeuWuwZg==","signatures":[{"sig":"MEUCIQCEz9/XmZE5itcLpTTAHG90HQd65USZ1LPW1cUlQ/OdUwIgRrrM7xIWcKuot1K+2Y3xsNU1FwsjEjScVgOyjbqswn0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3490560},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f287ad94d869032d74b5217c1b6de3f86f0a8f4b","scripts":{"build":"tsc","merge":"node src/merge.js","validate":"node --loader ts-node/esm src/validate.ts","build:data":"npm run build:full && npm run merge","build:full":"node src/build-world-locations.js","prepublishOnly":"npm run build:data && npm run build && rm -rf out/countries"},"_npmUser":{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"_npmVersion":"10.8.2","description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.23.8","axios":"^1.7.4","dotenv":"^16.4.5","p-queue":"^7.4.1","cli-progress":"^3.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"gzipper":"^8.2.1","ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^24.8.0","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/world-locations_1.1.1_1760698054006_0.9994760938804876","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@cyber_squad_inc/world-locations","version":"1.1.2","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","cyber-squad-inc"],"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","_id":"@cyber_squad_inc/world-locations@1.1.2","maintainers":[{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},{"name":"jrsakif","email":"jrsakif@gmail.com"}],"homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"dist":{"shasum":"d26c53e8658f572ab38e57fc306d6d3b3ff13218","tarball":"https://registry.npmjs.org/@cyber_squad_inc/world-locations/-/world-locations-1.1.2.tgz","fileCount":5,"integrity":"sha512-IwEeqNZ4wYuRN6P6ox0nRZwPZ7IHUnTbzZ5ApsObDh9H8I4cizA39yuhczHb5G+XSLytzsuv13cqXIiqKzLFoA==","signatures":[{"sig":"MEQCIFcDTuhO/w4vLsiRma6hFxtkqUUt04aIY2NukIf3a1zWAiBqly2WzGXi9BN4CN5yRM3WOdYJUZwGv/p7utQLoa0e7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4627593},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"9e99294c59b4d9c0489bc79df1a45424de2a2b30","scripts":{"build":"tsup","clean":"rm -rf dist out src/*.json.gz","embed":"node scripts/embed-data.js","merge":"node src/merge.js","validate":"node --loader ts-node/esm src/validate.ts","build:data":"npm run clean && npm run build:full && npm run merge && npm run embed","build:full":"node src/build-world-locations.js","prepublishOnly":"npm run build:data && npm run build"},"_npmUser":{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"_npmVersion":"10.8.2","description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.23.8","tsup":"^8.5.0","axios":"^1.7.4","dotenv":"^16.4.5","gzipper":"^8.2.1","p-queue":"^7.4.1","ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^24.8.0","cli-progress":"^3.12.0","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/world-locations_1.1.2_1760700740604_0.5074211940158351","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@cyber_squad_inc/world-locations","version":"1.1.3","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","cyber-squad-inc"],"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","_id":"@cyber_squad_inc/world-locations@1.1.3","maintainers":[{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},{"name":"jrsakif","email":"jrsakif@gmail.com"}],"homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"dist":{"shasum":"c04bb30b91c543c5531ce84ed315050114b097c8","tarball":"https://registry.npmjs.org/@cyber_squad_inc/world-locations/-/world-locations-1.1.3.tgz","fileCount":5,"integrity":"sha512-BqMxox6nkn1JvPvaNN1LXXDUHOmNPkKSU+5hkftyBC8gaiT8BnkXUJ/9OGLiR+ipeBYWmj4in2LdGb3IYo8QMw==","signatures":[{"sig":"MEYCIQDXd0OKuq4IG17XwZIE73qIaJfH7vIjmdUDxTFMOpX+ZwIhANKECqIMvTfxwV3k52VNzFNrTHFw34iS/h/ix6UzYKfu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4627486},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4babff6e303b8bb83443a3f47e2c040089acb88f","scripts":{"build":"tsup","clean":"rm -rf dist out src/*.json.gz","embed":"node scripts/embed-data.js","merge":"node src/merge.js","validate":"node --loader ts-node/esm src/validate.ts","build:data":"npm run clean && npm run build:full && npm run merge && npm run embed","build:full":"node src/build-world-locations.js","prepublishOnly":"npm run build:data && npm run build"},"_npmUser":{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"_npmVersion":"10.8.2","description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.23.8","tsup":"^8.5.0","axios":"^1.7.4","dotenv":"^16.4.5","gzipper":"^8.2.1","p-queue":"^7.4.1","ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^24.8.0","cli-progress":"^3.12.0","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/world-locations_1.1.3_1760702953465_0.03726050548113147","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@cyber_squad_inc/world-locations","version":"1.1.4","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","cyber-squad-inc"],"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","_id":"@cyber_squad_inc/world-locations@1.1.4","maintainers":[{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},{"name":"jrsakif","email":"jrsakif@gmail.com"}],"homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"dist":{"shasum":"89695afd52130b3c061861db6e42915918f81529","tarball":"https://registry.npmjs.org/@cyber_squad_inc/world-locations/-/world-locations-1.1.4.tgz","fileCount":5,"integrity":"sha512-xMRAk7SnQaQhkPD9uvvn1Vku5pG0T9mRtT7aBUNgkTzH/1uIDO5X7dIdsVGZ5Hlp6tD/Gs3W42kHxq94GO9oWA==","signatures":[{"sig":"MEUCIQDgrTK07BQZzBxg3hNpqPMyO9YkGMrwmpURVLQR/DwNvgIgddm4q8Llz9reWtadshq5AxrSxNuvvDosu/Wa1A9rU0M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4627849},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4bcd99495afea6466267d99831e232fe34765948","scripts":{"build":"tsup","clean":"rm -rf dist out src/*.json.gz","embed":"node scripts/embed-data.js","merge":"node src/merge.js","validate":"node --loader ts-node/esm src/validate.ts","build:data":"npm run clean && npm run build:full && npm run merge && npm run embed","build:full":"node src/build-world-locations.js","prepublishOnly":"npm run build:data && npm run build"},"_npmUser":{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"_npmVersion":"10.8.2","description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.23.8","tsup":"^8.5.0","axios":"^1.7.4","dotenv":"^16.4.5","gzipper":"^8.2.1","p-queue":"^7.4.1","ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^24.8.0","cli-progress":"^3.12.0","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/world-locations_1.1.4_1760706716536_0.9115876158859264","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@cyber_squad_inc/world-locations","version":"1.1.5","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","cyber-squad-inc"],"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","_id":"@cyber_squad_inc/world-locations@1.1.5","maintainers":[{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},{"name":"jrsakif","email":"jrsakif@gmail.com"}],"homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"dist":{"shasum":"4c76cb13296fdcfed6a3799da425060accd02af3","tarball":"https://registry.npmjs.org/@cyber_squad_inc/world-locations/-/world-locations-1.1.5.tgz","fileCount":5,"integrity":"sha512-3rEHnUNd3MwVd8RU/U0Ke/F0s4MGiAlZeX8oyx5m97xB4eN50nij4NnrYGfd/Ym6IvNoYEQK1+E3UD1rwwZcRA==","signatures":[{"sig":"MEUCIFN5bP33+cowQcoA2NGsRdm4pFjmwjr+sQoDhaFHZKDIAiEAwt+CwaKvfaAI5bG7iJII8eG8UhrhnRJoSzHou3IgurM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4628738},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7637210052ff4a7d7546e12ab04afb3f95e02a2d","scripts":{"build":"tsup","clean":"rm -rf dist out src/*.json.gz","embed":"node scripts/embed-data.js","merge":"node src/merge.js","validate":"node --loader ts-node/esm src/validate.ts","build:data":"npm run clean && npm run build:full && npm run merge && npm run embed","build:full":"node src/build-world-locations.js","prepublishOnly":"npm run build:data && npm run build"},"_npmUser":{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"_npmVersion":"10.8.2","description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.23.8","tsup":"^8.5.0","axios":"^1.7.4","dotenv":"^16.4.5","gzipper":"^8.2.1","p-queue":"^7.4.1","ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^24.8.0","cli-progress":"^3.12.0","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/world-locations_1.1.5_1761215033498_0.3947254806461702","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@cyber_squad_inc/world-locations","version":"1.1.6","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","cyber-squad-inc"],"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","_id":"@cyber_squad_inc/world-locations@1.1.6","maintainers":[{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},{"name":"jrsakif","email":"jrsakif@gmail.com"}],"homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"dist":{"shasum":"4bfcf1076ade5022c48af7da209255eeb4592c53","tarball":"https://registry.npmjs.org/@cyber_squad_inc/world-locations/-/world-locations-1.1.6.tgz","fileCount":5,"integrity":"sha512-TFWN6tlB1bXRPztLkFPVZLzMUwE/BCx+SpMQtqK6KwTc0Jjj1aDHzNf1ORcY542YUscTmSxMb2B/8shBW9/Pyw==","signatures":[{"sig":"MEQCID64DAjOLXuK5eXwp4BgQ33ULl9pOkiAczB2WjsPZdq7AiB7BNm9/WzElhXEr94CesTPP7BkH16It6IER/BuoYTFyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4628738},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"c918bdc3beb3fcf4eebe5154a27ab30f594851ee","scripts":{"build":"tsup","clean":"rm -rf dist out src/*.json.gz","embed":"node scripts/embed-data.js","merge":"node src/merge.js","validate":"node --loader ts-node/esm src/validate.ts","build:data":"npm run clean && npm run build:full && npm run merge && npm run embed","build:full":"node src/build-world-locations.js","prepublishOnly":"npm run build:data && npm run build"},"_npmUser":{"name":"ridwan-cs","email":"ridwan@ficc.com.bd"},"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"_npmVersion":"10.8.2","description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"fflate":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.23.8","tsup":"^8.5.0","axios":"^1.7.4","dotenv":"^16.4.5","gzipper":"^8.2.1","p-queue":"^7.4.1","ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^24.8.0","cli-progress":"^3.12.0","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/world-locations_1.1.6_1761217081676_0.18721007762973363","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-10-16T19:20:38.501Z","modified":"2026-03-28T09:09:36.730Z","1.0.0":"2025-10-16T19:20:38.845Z","1.1.0":"2025-10-16T20:14:19.373Z","1.1.1":"2025-10-17T10:47:34.280Z","1.1.2":"2025-10-17T11:32:20.842Z","1.1.3":"2025-10-17T12:09:13.712Z","1.1.4":"2025-10-17T13:11:56.818Z","1.1.5":"2025-10-23T10:23:53.750Z","1.1.6":"2025-10-23T10:58:02.017Z"},"bugs":{"url":"https://github.com/Cyber-Squad-Inc/world-locations/issues"},"author":{"name":"Cyber Squad Inc","email":"contact@cybersquad.dev"},"license":"MIT","homepage":"https://github.com/Cyber-Squad-Inc/world-locations#readme","keywords":["world","locations","countries","states","cities","typescript","nextjs","esm","cyber-squad-inc"],"repository":{"url":"git+https://github.com/Cyber-Squad-Inc/world-locations.git","type":"git"},"description":"Offline world dataset (countries, states, cities) with flags, phone codes, and ISO codes — maintained by Cyber Squad Inc.","maintainers":[{"email":"jrsakif@gmail.com","name":"jrsakif"}],"readme":"\n<p align=\"center\">\n  <img src=\"https://github.com/Cyber-Squad-Inc/assets/blob/main/logo.png\" width=\"120\" />\n</p>\n\n<h1 align=\"center\">🌍 @cyber_squad_inc/world-locations</h1>\n\n<p align=\"center\">\n  Complete offline world dataset with countries, states, and cities — maintained by <b>Cyber Squad Inc</b>.\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@cyber_squad_inc/world-locations\">\n    <img src=\"https://img.shields.io/npm/v/@cyber_squad_inc/world-locations.svg?style=flat-square\" alt=\"npm version\" />\n  </a>\n  <a href=\"https://github.com/Cyber-Squad-Inc/world-locations\">\n    <img src=\"https://img.shields.io/github/stars/Cyber-Squad-Inc/world-locations.svg?style=flat-square\" alt=\"GitHub stars\" />\n  </a>\n  <a href=\"https://github.com/Cyber-Squad-Inc/world-locations/blob/main/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\" alt=\"MIT License\" />\n  </a>\n</p>\n\n## ✨ Features\n\n- **249 countries** with complete data\n- **States/Provinces** for each country\n- **Cities** with coordinates and population data\n- **ISO codes** (ISO2, ISO3, numeric)\n- **Phone codes** and **timezones**\n- **Flags** (rectangular and round)\n- **Currencies** and **languages**\n- **Regions** and **subregions**\n- **Districts** and **suburbs** (where available)\n- **Zero dependencies** for runtime usage\n- **Offline-first** - no API calls needed\n\n## 📦 Install\n\n```bash\nnpm install @cyber_squad_inc/world-locations\n```\n\n## 🚀 Usage\n\n### Basic Usage\n\n```javascript\nimport { getCountries, getCountry, getStates, getCities } from '@cyber_squad_inc/world-locations';\n\n// Get all countries (lightweight list)\nconst countries = getCountries();\nconsole.log(countries);\n// [\n//   {\n//     name: \"United States\",\n//     officialName: \"United States of America\",\n//     iso2: \"US\",\n//     iso3: \"USA\",\n//     phoneCode: \"1\",\n//     flag: \"https://flagcdn.com/w320/us.png\",\n//     capital: \"Washington, D.C.\",\n//     region: \"Americas\",\n//     subregion: \"North America\",\n//     // ... more fields\n//   },\n//   // ... 248 more countries\n// ]\n\n// Get full country data\nconst usa = getCountry('US');\nconsole.log(usa.name.common); // \"United States\"\nconsole.log(usa.states.length); // 50+ states\n\n// Get states for a country\nconst states = getStates('BD');\nconsole.log(states);\n// [\n//   { name: \"Dhaka\", code: \"13\", cities: [...] },\n//   { name: \"Chittagong\", code: \"10\", cities: [...] },\n//   // ... more states\n// ]\n\n// Get cities for a specific state\nconst cities = getCities('BD', 'Dhaka');\nconsole.log(cities);\n// [\n//   { name: \"Dhaka\", latlng: [23.8103, 90.4125], population: 10356500 },\n//   { name: \"Gazipur\", latlng: [24.0023, 90.4264], population: 1200000 },\n//   // ... more cities\n// ]\n```\n\n### Advanced Usage\n\n```javascript\nimport { \n  searchCountries, \n  getCountriesByRegion, \n  getCountriesBySubregion \n} from '@cyber_squad_inc/world-locations';\n\n// Search countries by name\nconst results = searchCountries('united');\nconsole.log(results);\n// [\n//   { name: \"United States\", iso2: \"US\", ... },\n//   { name: \"United Kingdom\", iso2: \"GB\", ... },\n//   { name: \"United Arab Emirates\", iso2: \"AE\", ... }\n// ]\n\n// Get countries by region\nconst europeanCountries = getCountriesByRegion('Europe');\nconsole.log(europeanCountries.length); // 50+ countries\n\n// Get countries by subregion\nconst scandinavianCountries = getCountriesBySubregion('Northern Europe');\nconsole.log(scandinavianCountries);\n// [\n//   { name: \"Denmark\", iso2: \"DK\", ... },\n//   { name: \"Finland\", iso2: \"FI\", ... },\n//   { name: \"Iceland\", iso2: \"IS\", ... },\n//   { name: \"Norway\", iso2: \"NO\", ... },\n//   { name: \"Sweden\", iso2: \"SE\", ... }\n// ]\n```\n\n### Default Import\n\n```javascript\nimport worldLocations from '@cyber_squad_inc/world-locations';\n\nconst countries = worldLocations.getCountries();\nconst usa = worldLocations.getCountry('US');\nconst states = worldLocations.getStates('US');\nconst cities = worldLocations.getCities('US', 'California');\n```\n\n## 📊 Data Structure\n\n### Country Object\n```typescript\ninterface Country {\n  name: {\n    common: string;\n    official: string;\n  };\n  iso2: string;\n  iso3: string;\n  numericCode: string;\n  region: string;\n  subregion: string;\n  tld: string;\n  phoneCode: string;\n  capital: string;\n  currencies: Record<string, string>;\n  timezones: Array<{\n    zoneName: string;\n    gmtOffset: number;\n    gmtOffsetName: string;\n    abbreviation: string;\n    tzName: string;\n  }>;\n  flagRect: string;\n  flagRound: string;\n  states: State[];\n}\n```\n\n### State Object\n```typescript\ninterface State {\n  id: number;\n  name: string;\n  code: string;\n  shortName: string;\n  cities: City[];\n}\n```\n\n### City Object\n```typescript\ninterface City {\n  id: number;\n  name: string;\n  latlng: [number, number];\n  population: number | null;\n  districts: string[];\n  suburbs: string[];\n}\n```\n\n## 🛠️ Development\n\nThis package is built from multiple data sources:\n- **REST Countries** for country data, flags, and codes\n- **GeoNames** for city coordinates and population\n- **OpenStreetMap** for districts and suburbs\n- **countriesnow.space** for states and cities\n\n## 📄 License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## 📞 Support\n\nIf you have any questions or need help, please open an issue on [GitHub](https://github.com/Cyber-Squad-Inc/world-locations/issues).\n","readmeFilename":"README.md"}