{"_id":"@blazon/country-poland","name":"@blazon/country-poland","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@blazon/country-poland","version":"0.1.0","description":"Polish city coats of arms — tree-shakeable, typed data package for the Blazon registry","repository":{"type":"git","url":"git+https://github.com/Karbashevskyi/blazon.git"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"dependencies":{"@blazon/types":"0.1.0"},"devDependencies":{"rimraf":"^6.0.1","typescript":"^5.8.3"},"keywords":["blazon","heraldry","coat-of-arms","poland","polish"],"license":"MIT","scripts":{"build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","clean":"rimraf dist"},"_id":"@blazon/country-poland@0.1.0","bugs":{"url":"https://github.com/Karbashevskyi/blazon/issues"},"homepage":"https://github.com/Karbashevskyi/blazon#readme","_integrity":"sha512-x6b578GWhWCi3Asp7kBNOtm88mbnVJ8bthXHyZuQr8VtENuKBdPuSOO67OZzLARte7EgQwFEX8lZB9HKKxW3vA==","_resolved":"/tmp/4c9b5516e452d449c1702a7321391943/blazon-country-poland-0.1.0.tgz","_from":"file:blazon-country-poland-0.1.0.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-x6b578GWhWCi3Asp7kBNOtm88mbnVJ8bthXHyZuQr8VtENuKBdPuSOO67OZzLARte7EgQwFEX8lZB9HKKxW3vA==","shasum":"1d15cd97c6d7aeeab2b8f65022736d83081f5134","tarball":"https://registry.npmjs.org/@blazon/country-poland/-/country-poland-0.1.0.tgz","fileCount":2502,"unpackedSize":41942294,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@blazon%2fcountry-poland@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCr5LwC56mk6QKpUTBEWakMxF6dzkdvmSJrJiJ3+NCb+AIhAI5gOW5CNBfndmanQJkaOEXRWjBbmXwHt60jl9srG6Tu"}]},"_npmUser":{"name":"karbash","email":"ivan.karbashevskyi@gmail.com"},"directories":{},"maintainers":[{"name":"karbash","email":"ivan.karbashevskyi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/country-poland_0.1.0_1778289983393_0.41963405310249735"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-09T01:26:23.291Z","0.1.0":"2026-05-09T01:26:23.875Z","modified":"2026-05-09T01:26:24.303Z"},"maintainers":[{"name":"karbash","email":"ivan.karbashevskyi@gmail.com"}],"description":"Polish city coats of arms — tree-shakeable, typed data package for the Blazon registry","homepage":"https://github.com/Karbashevskyi/blazon#readme","keywords":["blazon","heraldry","coat-of-arms","poland","polish"],"repository":{"type":"git","url":"git+https://github.com/Karbashevskyi/blazon.git"},"bugs":{"url":"https://github.com/Karbashevskyi/blazon/issues"},"license":"MIT","readme":"# @blazon/country-poland\n\n> 495 Polish city coats of arms — tree-shakeable, typed data package for the Blazon registry.\n\n## Install\n\n```bash\npnpm add @blazon/country-poland @blazon/types\n```\n\n## Usage\n\n### Tree-shakeable named imports (recommended)\n\nImport only the cities you use. All other exports are removed by your bundler.\n\n```ts\nimport { warszawa, krakow, wroclaw, poznan } from '@blazon/country-poland';\n\nconsole.log(warszawa.id); // 'pl-city-warszawa'\nconsole.log(warszawa.name); // 'Herb Warszawy'\nconsole.log(warszawa.svg); // inline SVG string (no external request)\n```\n\n### Full collection\n\nUse the `plCities` array when you need all 495 entries, e.g. for lazy-loading:\n\n```ts\nimport { plCities } from '@blazon/country-poland';\n\nconsole.log(plCities.length); // 495\n```\n\n### With `@blazon/core` — register as a loader\n\n```ts\nimport { registerCountry } from '@blazon/core';\nimport { plCities } from '@blazon/country-poland';\n\nregisterCountry('PL', async () => ({\n  countryCode: 'PL',\n  name: 'Poland',\n  entries: plCities,\n}));\n```\n\n### With `@blazon/ngx` — Angular provider\n\n```ts\n// app.config.ts\nimport { warszawa, krakow } from '@blazon/country-poland';\nimport { provideBlazonIcons } from '@blazon/ngx';\n\nexport const appConfig: ApplicationConfig = {\n  providers: [\n    // Only Warszawa and Kraków end up in the bundle\n    provideBlazonIcons([warszawa, krakow]),\n  ],\n};\n```\n\n## Available exports\n\nEach city is exported as a `camelCase` identifier matching its slug:\n\n| Import name | City             | ID                 |\n| ----------- | ---------------- | ------------------ |\n| `warszawa`  | Herb Warszawy    | `pl-city-warszawa` |\n| `krakow`    | Herb Krakowa     | `pl-city-krakow`   |\n| `wroclaw`   | Herb Wrocławia   | `pl-city-wroclaw`  |\n| `poznan`    | Herb Poznania    | `pl-city-poznan`   |\n| `gdansk`    | Herb Gdańska     | `pl-city-gdansk`   |\n| `lodz`      | Herb Łodzi       | `pl-city-lodz`     |\n| …           | 495 cities total | —                  |\n\n## Data\n\nAll SVG assets are licensed under **CC0-1.0** unless otherwise noted in their sidecar `meta.json`.\nSource SVGs live under `assets/pl/city/` in the monorepo root.\n\n## Architecture\n\n```\nsrc/\n└── pl/\n    ├── city/\n    │   ├── warszawa.ts        ← const warszawa: CoatOfArms = { … }\n    │   ├── krakow.ts\n    │   └── … (495 files)\n    └── index.ts               ← exports everything + plCities[]\n```\n\nExports are auto-generated from `assets/pl/city/*/index.json` by `tools/scripts/generate_core_exports.py`.\nDo not edit `src/pl/` by hand.\n","readmeFilename":"README.md","_rev":"1-52616bbdf7ebd55511d32c7a50ef5e14"}