{"_id":"@abez/kyrgyzstan-map","_rev":"2-7c0484bf73c43bd3a2ab3998efea11c8","name":"@abez/kyrgyzstan-map","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@abez/kyrgyzstan-map","version":"0.1.0","keywords":["react","svg","map","kyrgyzstan","choropleth","geo","topojson"],"author":"","license":"MIT","_id":"@abez/kyrgyzstan-map@0.1.0","maintainers":[{"name":"lastninja294","email":"lastninja294@gmail.com"}],"homepage":"https://github.com/lastninja294/geo-maps/tree/main/packages/kyrgyzstan-map#readme","bugs":{"url":"https://github.com/lastninja294/geo-maps/issues"},"dist":{"shasum":"b3988a55b4f1c3cc31971e48a092b2fb589964df","tarball":"https://registry.npmjs.org/@abez/kyrgyzstan-map/-/kyrgyzstan-map-0.1.0.tgz","fileCount":37,"integrity":"sha512-nXMC/+Y1rP4lJuQet8KZmSWk109L/+M+j8zaXX8pFJldXWi3//ZDSJJUU/WmTVcRvmC8LThnSzwf/tq+9HQ4kA==","signatures":[{"sig":"MEYCIQCYhe6VjwdmOY86Rw5ZdwSuEGWn6F8bl+wYAhUneOS1QgIhAONJ0rj7uR5rH3X2qugNEcVcB5S1GrVuviqScRMj5mGF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1728160},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"a7e4bd8b8b416344a2d022ec4645ca33231a4fc7","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","data:meta":"node scripts/build-metadata.mjs","typecheck":"tsc --noEmit","data:build":"node scripts/build-topology.mjs","data:fetch":"node scripts/fetch-geoboundaries.mjs","test:watch":"vitest"},"_npmUser":{"name":"lastninja294","email":"lastninja294@gmail.com"},"repository":{"url":"git+https://github.com/lastninja294/geo-maps.git","type":"git","directory":"packages/kyrgyzstan-map"},"_npmVersion":"10.9.4","description":"Customizable, accessible SVG map of Kyrgyzstan for React -- regions and districts, built-in metadata, choropleth, tooltips, and drill-down. Zero runtime dependencies.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"@abez/map-core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/kyrgyzstan-map_0.1.0_1787495855489_0.16418600169201114","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@abez/kyrgyzstan-map","version":"0.1.1","description":"Customizable, accessible SVG map of Kyrgyzstan for React -- regions and districts, built-in metadata, choropleth, tooltips, and drill-down. Zero runtime dependencies.","license":"MIT","author":"","repository":{"type":"git","url":"git+https://github.com/lastninja294/geo-maps.git","directory":"packages/kyrgyzstan-map"},"homepage":"https://abez-maps.vercel.app/kyrgyzstan","bugs":{"url":"https://github.com/lastninja294/geo-maps/issues"},"type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"keywords":["react","svg","map","kyrgyzstan","choropleth","geo","topojson"],"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest","data:fetch":"node scripts/fetch-geoboundaries.mjs","data:build":"node scripts/build-topology.mjs","data:meta":"node scripts/build-metadata.mjs"},"peerDependencies":{"react":">=17.0.0"},"dependencies":{"@abez/map-core":"^0.1.0"},"publishConfig":{"access":"public"},"_id":"@abez/kyrgyzstan-map@0.1.1","gitHead":"c85e41694a8790fed9858faff4bddf89ffc5018f","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-Bd+trYynsWJM7kVxJoBKJMabx+2l45mKCoJWUWPwLRrCMLrvsUWZ7MNWZh5tzCga+K86zdbyLUJmyVGC5+4Cxg==","shasum":"2889502012336a6896b4c32553be6a0905b899dc","tarball":"https://registry.npmjs.org/@abez/kyrgyzstan-map/-/kyrgyzstan-map-0.1.1.tgz","fileCount":37,"unpackedSize":1728180,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDvmGT4G5BYka4GZ3XLh5y5+xAhY4PQzgQ51djNEASeoQIhAIv2uJWBRqAPtcQj+8ELVeloJmZtKM0dClmeo4rPuJVe"}]},"_npmUser":{"name":"lastninja294","email":"lastninja294@gmail.com"},"directories":{},"maintainers":[{"name":"lastninja294","email":"lastninja294@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/kyrgyzstan-map_0.1.1_1787569742431_0.7921990544658615"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-23T14:37:35.275Z","modified":"2026-08-24T11:09:02.769Z","0.1.0":"2026-08-23T14:37:35.673Z","0.1.1":"2026-08-24T11:09:02.607Z"},"bugs":{"url":"https://github.com/lastninja294/geo-maps/issues"},"license":"MIT","homepage":"https://abez-maps.vercel.app/kyrgyzstan","keywords":["react","svg","map","kyrgyzstan","choropleth","geo","topojson"],"repository":{"type":"git","url":"git+https://github.com/lastninja294/geo-maps.git","directory":"packages/kyrgyzstan-map"},"description":"Customizable, accessible SVG map of Kyrgyzstan for React -- regions and districts, built-in metadata, choropleth, tooltips, and drill-down. Zero runtime dependencies.","maintainers":[{"name":"lastninja294","email":"lastninja294@gmail.com"}],"readme":"# @abez/kyrgyzstan-map\n\n**[Live demo →](https://abez-maps.vercel.app/kyrgyzstan)**\n\nA customizable, accessible SVG map of Kyrgyzstan for React — 7 top-level\nregions and 41 districts, geometry from geoBoundaries, choropleth,\ndrill-down, and 3-locale built-in metadata (ky/ru/en).\n\nBuilt on [`@abez/map-core`](https://github.com/lastninja294/geo-maps/tree/main/packages/core),\nthe shared engine also powering\n[`@abez/kazakhstan-map`](https://github.com/lastninja294/geo-maps/tree/main/packages/kazakhstan-map)\nand [`@abez/uzb-map`](https://www.npmjs.com/package/@abez/uzb-map).\nTypeScript-first. **Zero runtime dependencies.**\n\n## Install\n\n```bash\nnpm install @abez/kyrgyzstan-map\n```\n\nReact 17+ is a peer dependency; nothing else is required at runtime.\n\n## Quick start\n\n```tsx\nimport { KyrgyzstanMap } from '@abez/kyrgyzstan-map'\n\nexport function App() {\n  return <KyrgyzstanMap locale=\"en\" onRegionClick={(code) => console.log(code)} />\n}\n```\n\n## Choropleth\n\n```tsx\n<KyrgyzstanMap data={{ 'KG-C': 90, 'KG-O': 85, 'KG-N': 30 }} />\n```\n\nKeys are region codes (`\"KG-C\"`) or, in `view=\"districts\"`, district codes.\n\n## Drill-down\n\n```tsx\nconst [focusRegion, setFocusRegion] = useState<string>()\n\n<KyrgyzstanMap\n  focusRegion={focusRegion}\n  onRegionClick={(code) => setFocusRegion(code)}\n  onDistrictClick={(code) => console.log('district', code)}\n/>\n```\n\n## Custom markers\n\n```tsx\nimport { KyrgyzstanMap, useProjectPoint, useMapScale } from '@abez/kyrgyzstan-map'\n\nfunction CapitalMarker() {\n  const project = useProjectPoint()\n  const scale = useMapScale()\n  const [x, y] = project([74.5698, 42.8746]) // Bishkek\n  return <circle cx={x} cy={y} r={4 / scale} fill=\"red\" />\n}\n\n<KyrgyzstanMap>\n  <CapitalMarker />\n</KyrgyzstanMap>\n```\n\n## Locales & metadata\n\n```tsx\nimport { getRegionMeta, getDistrictsByRegion } from '@abez/kyrgyzstan-map'\n\ngetRegionMeta('KG-C') // { code, names: {ky,ru,en}, capital, population, populationYear, areaKm2, ... }\ngetDistrictsByRegion('KG-C')\n```\n\nAll 41 districts have verified population and area — see `DATA_SOURCES.md`\nfor sources, and for two documented administrative-boundary gaps: Bishkek\n(the capital) has no district polygon of its own in the source geometry,\nand Osh city's territory is absorbed into the surrounding Kara-Suu\ndistrict rather than being its own unit.\n\n## Data & attribution\n\nGeometry derived from [geoBoundaries](https://www.geoboundaries.org) KGZ\nADM1/ADM2 (Runfola et al. 2020, ODbL / CC BY-SA 3.0). See\n`DATA_SOURCES.md` for full attribution, known gaps, and the 2023/2025\nplace-renaming notes.\n","readmeFilename":"README.md"}