{"_id":"@b4moss/jp-local-gov-id-data","_rev":"8-fb20e54dc91330aff2edc17e788a9ae7","name":"@b4moss/jp-local-gov-id-data","dist-tags":{"latest":"1.0.0","rc":"1.0.0-rc.12"},"versions":{"0.1.0":{"name":"@b4moss/jp-local-gov-id-data","version":"0.1.0","keywords":["japan","local-government","municipality","prefecture"],"license":"UNLICENSED","_id":"@b4moss/jp-local-gov-id-data@0.1.0","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"dist":{"shasum":"cc1e4daf6b734eb049abf46a563e3454b2c6978c","tarball":"https://registry.npmjs.org/@b4moss/jp-local-gov-id-data/-/jp-local-gov-id-data-0.1.0.tgz","fileCount":52,"integrity":"sha512-fyIZpGjEaTSv+naQWY/dTlBx30kCq9QCS3kerIDvOA/sa6s3XtdkqHY5sbmlwCAmvNu0YfwN85kErRclKwNXkA==","signatures":[{"sig":"MEYCIQDTESXLGzxPdWEJecp7iPRffQ8GVklhLO6UekQGgO/8GgIhAMjReZBjPXHp1InjBD8RT475ULYjcDmdVd5/JblDCXVR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":448963},"main":"./dataset.js","type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dataset.js","default":"./dataset.js"},"./dataset.js":"./dataset.js","./index.json":"./index.json","./prefectures/*":"./prefectures/*","./prefectures.json":"./prefectures.json"},"gitHead":"a96557b01eedd211f871df5dc1aa9ec26eb919cb","_npmUser":{"name":"b4m-oss","email":"kohki.shikata@gmail.com"},"_npmVersion":"10.9.4","description":"日本の全国地方公共団体コードのデータ（分割 JSON）","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jp-local-gov-id-data_0.1.0_1783752071977_0.6262019303458328","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.1":{"name":"@b4moss/jp-local-gov-id-data","version":"1.0.0-rc.1","keywords":["japan","local-government","municipality","prefecture"],"license":"MIT","_id":"@b4moss/jp-local-gov-id-data@1.0.0-rc.1","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/jp-local-gov-id#readme","bugs":{"url":"https://github.com/b4moss/jp-local-gov-id/issues"},"dist":{"shasum":"43d4b1be2ca0b029fe3a803a5e8b0ad99a06f874","tarball":"https://registry.npmjs.org/@b4moss/jp-local-gov-id-data/-/jp-local-gov-id-data-1.0.0-rc.1.tgz","fileCount":55,"integrity":"sha512-P418bSpWq4k/9bO/NlZgZ1Mz0f1oUX+aKgUvSpcffrLCJzzrzuYJkZQSiTr2rEdJzSYBvzNpyalDQsS6pSgvGg==","signatures":[{"sig":"MEYCIQC/8P9s8CAucJX6AyyIAxGAZc4wd5PUJqJGaUiAzaZd+gIhAKx2pPOviGO/9OGGhGXZo/ijMA5IQpOETBpAikfO63eh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fjp-local-gov-id-data@1.0.0-rc.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":454949},"main":"./dataset.js","type":"module","_from":"file:b4moss-jp-local-gov-id-data-1.0.0-rc.1.tgz","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dataset.js","default":"./dataset.js"},"./dataset.js":"./dataset.js","./index.json":"./index.json","./prefectures/*":"./prefectures/*","./prefectures.json":"./prefectures.json"},"_npmUser":{"name":"b4m-oss","email":"kohki.shikata@gmail.com"},"_resolved":"/home/runner/work/jp-local-gov-id/jp-local-gov-id/packages/jp-local-gov-id-data/b4moss-jp-local-gov-id-data-1.0.0-rc.1.tgz","_integrity":"sha512-P418bSpWq4k/9bO/NlZgZ1Mz0f1oUX+aKgUvSpcffrLCJzzrzuYJkZQSiTr2rEdJzSYBvzNpyalDQsS6pSgvGg==","repository":{"url":"git+https://github.com/b4moss/jp-local-gov-id.git","type":"git","directory":"packages/jp-local-gov-id-data"},"_npmVersion":"10.9.8","description":"日本の全国地方公共団体コードのデータ（分割 JSON）","directories":{},"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jp-local-gov-id-data_1.0.0-rc.1_1787029154088_0.7998519945653597","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.2":{"name":"@b4moss/jp-local-gov-id-data","version":"1.0.0-rc.2","keywords":["japan","local-government","municipality","prefecture"],"license":"MIT","_id":"@b4moss/jp-local-gov-id-data@1.0.0-rc.2","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/jp-local-gov-id#readme","bugs":{"url":"https://github.com/b4moss/jp-local-gov-id/issues"},"dist":{"shasum":"b6ed4ee86aa1f830158b5b75c689b5b841ecaa01","tarball":"https://registry.npmjs.org/@b4moss/jp-local-gov-id-data/-/jp-local-gov-id-data-1.0.0-rc.2.tgz","fileCount":55,"integrity":"sha512-bVoE4jiMhHrlKLGFKQo4nZjZGbnfyk4GijviMzQdghq1wXKvrWhNA9vtZgYG+HGWPzIobQARO+GUc+AMkWnggA==","signatures":[{"sig":"MEUCID6PNpkE07uuqmrE/iqUAybq+Cx29Vjbhbss9Psa3WjqAiEAmT2SQsKzGyjJ2Pue8+Xk68agUemSuHJvPO0dgU9saAs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fjp-local-gov-id-data@1.0.0-rc.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":459755},"main":"./dataset.js","type":"module","_from":"file:b4moss-jp-local-gov-id-data-1.0.0-rc.2.tgz","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dataset.js","default":"./dataset.js"},"./dataset.js":"./dataset.js","./index.json":"./index.json","./prefectures/*":"./prefectures/*","./prefectures.json":"./prefectures.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57d5b4ca-a698-4083-867a-c3827c16d3d9"}},"_resolved":"/home/runner/work/jp-local-gov-id/jp-local-gov-id/packages/jp-local-gov-id-data/b4moss-jp-local-gov-id-data-1.0.0-rc.2.tgz","_integrity":"sha512-bVoE4jiMhHrlKLGFKQo4nZjZGbnfyk4GijviMzQdghq1wXKvrWhNA9vtZgYG+HGWPzIobQARO+GUc+AMkWnggA==","repository":{"url":"git+https://github.com/b4moss/jp-local-gov-id.git","type":"git","directory":"packages/jp-local-gov-id-data"},"_npmVersion":"12.0.2","description":"日本の全国地方公共団体コードのデータ（分割 JSON）","directories":{},"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jp-local-gov-id-data_1.0.0-rc.2_1787798934542_0.4499014755956856","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.3":{"name":"@b4moss/jp-local-gov-id-data","version":"1.0.0-rc.3","keywords":["japan","local-government","municipality","prefecture"],"license":"MIT","_id":"@b4moss/jp-local-gov-id-data@1.0.0-rc.3","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/jp-local-gov-id#readme","bugs":{"url":"https://github.com/b4moss/jp-local-gov-id/issues"},"dist":{"shasum":"517e36900948f89409473599feabb3c279f0f3df","tarball":"https://registry.npmjs.org/@b4moss/jp-local-gov-id-data/-/jp-local-gov-id-data-1.0.0-rc.3.tgz","fileCount":55,"integrity":"sha512-DR8hmdTfJwj4HMBs2/Tpwfm93YcZoQGEBDBaTIPkNuTbz/XUAWK20EJr0NdOCMK1B/X7Yu/it3MfZ4t5x8LoXg==","signatures":[{"sig":"MEQCIGplmIbXlP34dDhdxOH7C4OEeQW/aTisgsDwSF9ho8I/AiAjKWjdjRASU/FeATrGP+1sZrlldHSQcu1rkvL62i751Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fjp-local-gov-id-data@1.0.0-rc.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":459755},"main":"./dataset.js","type":"module","_from":"file:b4moss-jp-local-gov-id-data-1.0.0-rc.3.tgz","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dataset.js","default":"./dataset.js"},"./dataset.js":"./dataset.js","./index.json":"./index.json","./prefectures/*":"./prefectures/*","./prefectures.json":"./prefectures.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57d5b4ca-a698-4083-867a-c3827c16d3d9"}},"_resolved":"/home/runner/work/jp-local-gov-id/jp-local-gov-id/packages/jp-local-gov-id-data/b4moss-jp-local-gov-id-data-1.0.0-rc.3.tgz","_integrity":"sha512-DR8hmdTfJwj4HMBs2/Tpwfm93YcZoQGEBDBaTIPkNuTbz/XUAWK20EJr0NdOCMK1B/X7Yu/it3MfZ4t5x8LoXg==","repository":{"url":"git+https://github.com/b4moss/jp-local-gov-id.git","type":"git","directory":"packages/jp-local-gov-id-data"},"_npmVersion":"12.0.2","description":"日本の全国地方公共団体コードのデータ（分割 JSON）","directories":{},"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jp-local-gov-id-data_1.0.0-rc.3_1787826455262_0.24380671201974935","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.10":{"name":"@b4moss/jp-local-gov-id-data","version":"1.0.0-rc.10","keywords":["japan","local-government","municipality","prefecture"],"license":"MIT","_id":"@b4moss/jp-local-gov-id-data@1.0.0-rc.10","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/jp-local-gov-id#readme","bugs":{"url":"https://github.com/b4moss/jp-local-gov-id/issues"},"dist":{"shasum":"6a19563e0cbc5b760549b841332546acc3b81634","tarball":"https://registry.npmjs.org/@b4moss/jp-local-gov-id-data/-/jp-local-gov-id-data-1.0.0-rc.10.tgz","fileCount":74,"integrity":"sha512-YNu5ciuIC/exgNcaWw1F5Brp/GDwrndj8nXbaBJl1A9uCEJ5y1yHMtLntNfkIiqapXIEzLvexGSZo3S+DXerxQ==","signatures":[{"sig":"MEQCIC4oDM+WuITsxCoCn1ZZVkTopf8bQxBs1Us86xYIU09bAiAW68iYBikPYNPJWFkz1ONJ21l9moSqqt88Hm21vm/EFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fjp-local-gov-id-data@1.0.0-rc.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151619},"main":"./dataset.js","type":"module","_from":"file:b4moss-jp-local-gov-id-data-1.0.0-rc.10.tgz","types":"./index.d.ts","engines":{"node":">=24"},"exports":{".":{"types":"./index.d.ts","import":"./dataset.js","default":"./dataset.js"},"./decode.js":"./decode.js","./dataset.js":"./dataset.js","./index.json":"./index.json","./prefectures/*":"./prefectures/*","./prefectures.bin.br":"./prefectures.bin.br","./search-ngrams/2gram/*":"./search-ngrams/2gram/*","./search-ngrams/3gram/*":"./search-ngrams/3gram/*"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57d5b4ca-a698-4083-867a-c3827c16d3d9"}},"_resolved":"/home/runner/work/jp-local-gov-id/jp-local-gov-id/packages/jp-local-gov-id-data/b4moss-jp-local-gov-id-data-1.0.0-rc.10.tgz","_integrity":"sha512-YNu5ciuIC/exgNcaWw1F5Brp/GDwrndj8nXbaBJl1A9uCEJ5y1yHMtLntNfkIiqapXIEzLvexGSZo3S+DXerxQ==","repository":{"url":"git+https://github.com/b4moss/jp-local-gov-id.git","type":"git","directory":"packages/jp-local-gov-id-data"},"_npmVersion":"11.17.0","description":"全国地方公共団体コードヘルパ — 日本の全国地方公共団体コードのデータ（Brotli 圧縮バイナリ）","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jp-local-gov-id-data_1.0.0-rc.10_1788000198590_0.4894664533102695","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.11":{"name":"@b4moss/jp-local-gov-id-data","version":"1.0.0-rc.11","keywords":["japan","local-government","municipality","prefecture"],"license":"MIT","_id":"@b4moss/jp-local-gov-id-data@1.0.0-rc.11","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/jp-local-gov-id#readme","bugs":{"url":"https://github.com/b4moss/jp-local-gov-id/issues"},"dist":{"shasum":"dbf2fa07efb2914140c9648c9e6ea2b81b190e2a","tarball":"https://registry.npmjs.org/@b4moss/jp-local-gov-id-data/-/jp-local-gov-id-data-1.0.0-rc.11.tgz","fileCount":74,"integrity":"sha512-SagMi3bY4JYSdq0PFplBX4up+Nxegd0KAvyrCDTzVj96CZN9ppa3aipkywBoxNcx18HSmBJ0eQw778mTTl254w==","signatures":[{"sig":"MEUCIQCtPUtoB5K2X2xgWlnE3I6yQLVnfoHhgzBr+645pZLEDgIgWXBdTQ28MWRMyXXYSHsuu52DeuEgbmcdXap0ebzlGBk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fjp-local-gov-id-data@1.0.0-rc.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151619},"main":"./dataset.js","type":"module","_from":"file:b4moss-jp-local-gov-id-data-1.0.0-rc.11.tgz","types":"./index.d.ts","engines":{"node":">=24"},"exports":{".":{"types":"./index.d.ts","import":"./dataset.js","default":"./dataset.js"},"./decode.js":"./decode.js","./dataset.js":"./dataset.js","./index.json":"./index.json","./prefectures/*":"./prefectures/*","./prefectures.bin.br":"./prefectures.bin.br","./search-ngrams/2gram/*":"./search-ngrams/2gram/*","./search-ngrams/3gram/*":"./search-ngrams/3gram/*"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57d5b4ca-a698-4083-867a-c3827c16d3d9"}},"_resolved":"/home/runner/work/jp-local-gov-id/jp-local-gov-id/packages/jp-local-gov-id-data/b4moss-jp-local-gov-id-data-1.0.0-rc.11.tgz","_integrity":"sha512-SagMi3bY4JYSdq0PFplBX4up+Nxegd0KAvyrCDTzVj96CZN9ppa3aipkywBoxNcx18HSmBJ0eQw778mTTl254w==","repository":{"url":"git+https://github.com/b4moss/jp-local-gov-id.git","type":"git","directory":"packages/jp-local-gov-id-data"},"_npmVersion":"11.17.0","description":"全国地方公共団体コードヘルパ — 日本の全国地方公共団体コードのデータ（Brotli 圧縮バイナリ）","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jp-local-gov-id-data_1.0.0-rc.11_1788010103995_0.18847753879238516","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.12":{"name":"@b4moss/jp-local-gov-id-data","version":"1.0.0-rc.12","keywords":["japan","local-government","municipality","prefecture"],"license":"MIT","_id":"@b4moss/jp-local-gov-id-data@1.0.0-rc.12","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"homepage":"https://github.com/b4moss/jp-local-gov-id#readme","bugs":{"url":"https://github.com/b4moss/jp-local-gov-id/issues"},"dist":{"shasum":"7f2653acdb8a4a3e38a4e6f688e97aaae6361758","tarball":"https://registry.npmjs.org/@b4moss/jp-local-gov-id-data/-/jp-local-gov-id-data-1.0.0-rc.12.tgz","fileCount":74,"integrity":"sha512-soLjwXDKtcOuz6zUYvzfmOlBpJu+ZFI8KF5BB0dBo1zIXX8ShKLSJEFbYZ50GaG2vgrvFstIhX5fDw/B4EUJJA==","signatures":[{"sig":"MEQCID5K8OsmAdLF8E4d5G8DRPFeKf38YG7wJjeOjVReV0OfAiBALixgwUe/V9G3Ciolo4t8dlD4qKld8vYG8+3kdrht4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fjp-local-gov-id-data@1.0.0-rc.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151619},"main":"./dataset.js","type":"module","_from":"file:b4moss-jp-local-gov-id-data-1.0.0-rc.12.tgz","types":"./index.d.ts","engines":{"node":">=24"},"exports":{".":{"types":"./index.d.ts","import":"./dataset.js","default":"./dataset.js"},"./decode.js":"./decode.js","./dataset.js":"./dataset.js","./index.json":"./index.json","./prefectures/*":"./prefectures/*","./prefectures.bin.br":"./prefectures.bin.br","./search-ngrams/2gram/*":"./search-ngrams/2gram/*","./search-ngrams/3gram/*":"./search-ngrams/3gram/*"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57d5b4ca-a698-4083-867a-c3827c16d3d9"}},"_resolved":"/home/runner/work/jp-local-gov-id/jp-local-gov-id/packages/jp-local-gov-id-data/b4moss-jp-local-gov-id-data-1.0.0-rc.12.tgz","_integrity":"sha512-soLjwXDKtcOuz6zUYvzfmOlBpJu+ZFI8KF5BB0dBo1zIXX8ShKLSJEFbYZ50GaG2vgrvFstIhX5fDw/B4EUJJA==","repository":{"url":"git+https://github.com/b4moss/jp-local-gov-id.git","type":"git","directory":"packages/jp-local-gov-id-data"},"_npmVersion":"11.19.0","description":"全国地方公共団体コードヘルパ — 日本の全国地方公共団体コードのデータ（Brotli 圧縮バイナリ）","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jp-local-gov-id-data_1.0.0-rc.12_1788589421901_0.47993251026295325","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@b4moss/jp-local-gov-id-data","version":"1.0.0","description":"全国地方公共団体コードヘルパ — 日本の全国地方公共団体コードのデータ（Brotli 圧縮バイナリ）","type":"module","main":"./dataset.js","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dataset.js","default":"./dataset.js"},"./index.json":"./index.json","./prefectures.bin.br":"./prefectures.bin.br","./search-ngrams/2gram/*":"./search-ngrams/2gram/*","./search-ngrams/3gram/*":"./search-ngrams/3gram/*","./prefectures/*":"./prefectures/*","./dataset.js":"./dataset.js","./decode.js":"./decode.js"},"keywords":["japan","local-government","municipality","prefecture"],"license":"MIT","engines":{"node":">=24"},"repository":{"type":"git","url":"git+https://github.com/b4moss/jp-local-gov-id.git","directory":"packages/jp-local-gov-id-data"},"publishConfig":{"access":"public"},"_id":"@b4moss/jp-local-gov-id-data@1.0.0","bugs":{"url":"https://github.com/b4moss/jp-local-gov-id/issues"},"homepage":"https://github.com/b4moss/jp-local-gov-id#readme","_integrity":"sha512-CFiFpfUmvdGbgQgMfKxy/AZ/OmF1kgYHQbIfrR7RukD/CvRmKIa3nj/LBmd4ys/nJ7XxD9ofOerdOXpXZ7FbAQ==","_resolved":"/home/runner/work/jp-local-gov-id/jp-local-gov-id/packages/jp-local-gov-id-data/b4moss-jp-local-gov-id-data-1.0.0.tgz","_from":"file:b4moss-jp-local-gov-id-data-1.0.0.tgz","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-CFiFpfUmvdGbgQgMfKxy/AZ/OmF1kgYHQbIfrR7RukD/CvRmKIa3nj/LBmd4ys/nJ7XxD9ofOerdOXpXZ7FbAQ==","shasum":"5b2fc797af1bd65c9818adc85ec8f12f94539c4d","tarball":"https://registry.npmjs.org/@b4moss/jp-local-gov-id-data/-/jp-local-gov-id-data-1.0.0.tgz","fileCount":74,"unpackedSize":151613,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@b4moss%2fjp-local-gov-id-data@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFcVxXhX/Ek7Z/+1d0AM3Cqeli8PN+T78rFSu7e5ALhrAiEArvxCAYKS09KnWpiHp9uPKVGGDVgCQkhhP1tNJTr9XpU="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:57d5b4ca-a698-4083-867a-c3827c16d3d9"}},"directories":{},"maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jp-local-gov-id-data_1.0.0_1788661699188_0.15659448630101647"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-11T06:41:11.791Z","modified":"2026-09-06T02:28:19.651Z","0.1.0":"2026-07-11T06:41:12.233Z","1.0.0-rc.1":"2026-08-18T04:59:14.247Z","1.0.0-rc.2":"2026-08-27T02:48:54.678Z","1.0.0-rc.3":"2026-08-27T10:27:35.401Z","1.0.0-rc.10":"2026-08-29T10:43:18.727Z","1.0.0-rc.11":"2026-08-29T13:28:24.176Z","1.0.0-rc.12":"2026-09-05T06:23:42.040Z","1.0.0":"2026-09-06T02:28:19.348Z"},"bugs":{"url":"https://github.com/b4moss/jp-local-gov-id/issues"},"license":"MIT","homepage":"https://github.com/b4moss/jp-local-gov-id#readme","keywords":["japan","local-government","municipality","prefecture"],"repository":{"type":"git","url":"git+https://github.com/b4moss/jp-local-gov-id.git","directory":"packages/jp-local-gov-id-data"},"description":"全国地方公共団体コードヘルパ — 日本の全国地方公共団体コードのデータ（Brotli 圧縮バイナリ）","maintainers":[{"name":"b4m-oss","email":"kohki.shikata@gmail.com"}],"readme":"# @b4moss/jp-local-gov-id-data\n\n[日本語](./README_ja.md)\n\nBrotli-compressed binary (`.bin.br`) datasets of Japan’s nationwide local government codes (全国地方公共団体コード).\n\nThis package ships **data only**. For search and lookup APIs, use [`@b4moss/jp-local-gov-id`](https://www.npmjs.com/package/@b4moss/jp-local-gov-id) with this package, or serve the same files yourself behind a versioned index URL.\n\n## Install\n\n```bash\nnpm install @b4moss/jp-local-gov-id-data\n```\n\n## What’s included\n\n| Path | Contents |\n|------|----------|\n| `index.json` | Index metadata (`schemaVersion`, `asOf`, paths, counts, …) — plain JSON |\n| `prefectures.bin.br` | All prefectures — Brotli-compressed binary (#74) |\n| `prefectures/{code}.bin.br` | Municipalities for that prefecture — Brotli-compressed binary |\n| `search-ngrams/2gram/{region}.bin.br` | Hot-set 2-gram search index (JLIX, regional splits) — Brotli (#63) |\n| `search-ngrams/3gram/{shard}.bin.br` | Cold-set 3-gram search index (JLIX, 3 shards) — Brotli (#63) |\n| `dataset.js` | Default export; decompresses `.bin.br` and decodes at module load (Node-friendly) |\n| `decode.js` | Low-level decode functions for the uncompressed `.bin` formats |\n\nA single file of all municipalities is **not** distributed. `schemaVersion` (currently `1`) describes the decoded object shape; it is unrelated to the binary format's own header `version`.\n\nThe intermediate CSV and uncompressed `.bin` used to generate the `.bin.br` files live in the repository for review, but are **not** published in this npm package (npm ships Brotli only).\n\n### Size vs previous JSON packaging\n\nMeasured against the last JSON release (`1.0.0-rc.3`):\n\n| | JSON (old, rc.3) | Uncompressed `.bin` (#73) | Published `.bin.br` (current) |\n| --- | ---: | ---: | ---: |\n| Unpacked prefecture + municipality payload | ~436 KiB | ~88 KiB | (wire is Brotli; decode yields `.bin`-sized bytes) |\n| Search index | (none / older approach) | (monolith JLIX era) | Hybrid 2-gram / 3-gram partitions |\n\nSize history: [docs/binary-size-73.md](../../docs/binary-size-73.md) (JSON→`.bin`) and [docs/test-spec-63-search-ngrams.md](../../docs/test-spec-63-search-ngrams.md) (hybrid JLIX).\n\n## Import\n\nDefault dataset (for the API package):\n\n```ts\nimport { createLocalGovClient } from \"@b4moss/jp-local-gov-id\";\nimport dataset from \"@b4moss/jp-local-gov-id-data\";\n\nconst client = await createLocalGovClient({ data: dataset });\n```\n\n`dataset.js` decompresses the bundled `.bin.br` files and decodes them once at import time, so `dataset.prefectures` / `dataset.municipalitiesByCode` / `dataset.searchNgramShards` (raw JLIX partition bytes) are ready for the API package.\n\n```ts\nimport index from \"@b4moss/jp-local-gov-id-data/index.json\";\n```\n\n`index.json` remains plain JSON and can still be imported directly. `.bin.br` files are binary and are not meant to be `import`ed as JS modules — load them via `dataset.js`, or fetch the raw bytes yourself and pass `{ url }` to `createLocalGovClient` (see the [API package docs](https://www.npmjs.com/package/@b4moss/jp-local-gov-id)).\n\n### Dataset exports\n\n| Export | Description |\n|--------|-------------|\n| `index` | Index metadata |\n| `prefectures` | All prefectures (decoded) |\n| `municipalitiesByCode` | Decoded municipality data keyed by prefecture code |\n| `loadMunicipalities(code)` | Load municipalities for a prefecture code |\n| `searchNgramShards` | Raw JLIX partition bytes (2-gram region / 3-gram shard keys) |\n\n## Self-hosted data\n\nIf you host the data yourself, serve it with a **versioned URL** and the same `index.json` + `.bin.br` layout (prefectures, per-prefecture files, and `search-ngrams/**`). Availability, CORS, correctness, and URL operations are your responsibility. Enable CORS on the hosting side.\n\n## About the data\n\n- As of: 1 January 2024 (R6.1.1)\n- Source: Ministry of Internal Affairs and Communications (総務省) nationwide local government code Excel (`000925835.xlsx` in the monorepo `resources/`)\n- Abolished / merged entities are not included (current only)\n\n## License\n\nMIT\n\nRepository: [b4moss/jp-local-gov-id](https://github.com/b4moss/jp-local-gov-id)\n","readmeFilename":"README.md"}