npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@blazon/country-poland

v0.1.0

Published

Polish city coats of arms — tree-shakeable, typed data package for the Blazon registry

Readme

@blazon/country-poland

495 Polish city coats of arms — tree-shakeable, typed data package for the Blazon registry.

Install

pnpm add @blazon/country-poland @blazon/types

Usage

Tree-shakeable named imports (recommended)

Import only the cities you use. All other exports are removed by your bundler.

import { warszawa, krakow, wroclaw, poznan } from '@blazon/country-poland';

console.log(warszawa.id); // 'pl-city-warszawa'
console.log(warszawa.name); // 'Herb Warszawy'
console.log(warszawa.svg); // inline SVG string (no external request)

Full collection

Use the plCities array when you need all 495 entries, e.g. for lazy-loading:

import { plCities } from '@blazon/country-poland';

console.log(plCities.length); // 495

With @blazon/core — register as a loader

import { registerCountry } from '@blazon/core';
import { plCities } from '@blazon/country-poland';

registerCountry('PL', async () => ({
  countryCode: 'PL',
  name: 'Poland',
  entries: plCities,
}));

With @blazon/ngx — Angular provider

// app.config.ts
import { warszawa, krakow } from '@blazon/country-poland';
import { provideBlazonIcons } from '@blazon/ngx';

export const appConfig: ApplicationConfig = {
  providers: [
    // Only Warszawa and Kraków end up in the bundle
    provideBlazonIcons([warszawa, krakow]),
  ],
};

Available exports

Each city is exported as a camelCase identifier matching its slug:

| Import name | City | ID | | ----------- | ---------------- | ------------------ | | warszawa | Herb Warszawy | pl-city-warszawa | | krakow | Herb Krakowa | pl-city-krakow | | wroclaw | Herb Wrocławia | pl-city-wroclaw | | poznan | Herb Poznania | pl-city-poznan | | gdansk | Herb Gdańska | pl-city-gdansk | | lodz | Herb Łodzi | pl-city-lodz | | … | 495 cities total | — |

Data

All SVG assets are licensed under CC0-1.0 unless otherwise noted in their sidecar meta.json. Source SVGs live under assets/pl/city/ in the monorepo root.

Architecture

src/
└── pl/
    ├── city/
    │   ├── warszawa.ts        ← const warszawa: CoatOfArms = { … }
    │   ├── krakow.ts
    │   └── … (495 files)
    └── index.ts               ← exports everything + plCities[]

Exports are auto-generated from assets/pl/city/*/index.json by tools/scripts/generate_core_exports.py. Do not edit src/pl/ by hand.