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

@nspot/geo-pack-romania-uat

v1.1.1

Published

Region pack for @nspot/geo-engine: Romania's 3,181 UATs (municipii, orașe, comune) and București's six sectors, from ANCPI's boundaries, coded by SIRUTA. Builds on @nspot/geo-pack-romania.

Readme

@nspot/geo-pack-romania-uat

A geo-engine region pack: every administrative-territorial unit (UAT) of Romania, and București's six sectors.

What's in it

All regions are type admin and carry their SIRUTA code as code.

  • 3,181 UATs (level 2), tagged with their rank: 103 municipiu, 216 oras and 2,862 comuna. The slug is the name plus the județ's ISO suffix, so names that repeat across județe stay apart, and a change of rank never changes a slug: bran-bv, brasov-bv, voluntari-if. Each UAT's parent is its județ in @nspot/geo-pack-romania.
  • Municipiul București as a UAT (bucuresti-b, 179132), the union of its sectors: ANCPI publishes no polygon of its own for it. Its parent is bucuresti, the county-level region "București" in the Romania pack, which has the same outline; the two are kept apart on purpose, one a county, the other a municipality. Its built_from property lists the sectors' codes.
  • 6 sectors (level 3, tag sector), "Sectorul 1" to "Sectorul 6" (bucuresti-sector-1 to bucuresti-sector-6), parented to bucuresti-b.

In 1.1.1 the București UAT is named "Municipiul București" (it was "București", like the county) and the sectors "Sectorul 1" to "Sectorul 6" (they were "Sector 1"…); slugs did not change.

Since 1.1.0:

  • The 40 county seats (reședințe de județ) also carry the tag resedinta-judet. București is a county of its own and Ilfov's seat lies outside it, so there are 40, not 42.
  • Every UAT has population_2021 in its properties: the resident population on 1 December 2021, from INS's census table 1.03.2 (Romania: 19,053,815). The sectors have none; the table gives București as a whole.

The boundaries are ANCPI's of 2025-03-24, simplified as one coverage at 50 m so that neighbours still share one border and the units still tile the country: the median border moves 47 m and no unit's area changes by more than 0.33%. Names and ranks are SIRUTA's (first semester of 2026), in title case with comma-below diacritics (ș, ț). How the layer is made and measured is in packages/db/seed/RO/uat/README.md.

The country entry carries no outline, so installing this pack never overwrites Romania's. The pack is about 14 MB.

Installing it

It needs @nspot/geo-engine 0.3.0 or later (schema 7), which links parents across packs. Install the Romania pack too; installing it first avoids a moment in which România's outline is derived from these units.

npm i @nspot/geo-pack-romania @nspot/geo-pack-romania-uat
import { installPack } from "@nspot/geo-engine";

await installPack(pool, "@nspot/geo-pack-romania");
await installPack(pool, "@nspot/geo-pack-romania-uat");

From @nspot/geo-pack-romania 2.0.0 its județe are unions of these units, so every UAT nests in its județ exactly. With 1.x, whose județe come from OpenStreetMap, the borders do not quite line up; parents are linked by slug, so that does not affect which UAT a point is in.

Licence

The package's code and text are MIT (LICENSE); the boundaries, names and codes are CC BY 4.0 (LICENSE-DATA). Wherever you show them, credit:

  • © Agenția Națională de Cadastru și Publicitate Imobiliară (ANCPI), CC BY 4.0
  • Institutul Național de Statistică, SIRUTA, CC BY 4.0

and say that the boundaries were simplified. For population_2021, cite INS as its reuse terms ask:

  • INS România, Recensământul populației și locuințelor 2021, www.insse.ro