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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@wollemia/remote-metadata

v0.1.6

Published

Read‑only snapshot of Cavuno's country and timezone metadata, exported as a single JSON file for use in any language (TS/JS, Python, Ruby, etc.).

Readme

@wollemia/remote-metadata

Read‑only snapshot of Cavuno's country and timezone metadata, exported as a single JSON file for use in any language (TS/JS, Python, Ruby, etc.).

What this package provides

The published npm package contains one file at the top level:

  • remote-data.json – a JSON object with the following top‑level keys:
    • countries
    • worldRegionToAlpha2
    • continentToAlpha2
    • regionToAlpha2
    • subregionToAlpha2
    • timezoneOffsets
    • offsetToCountries
    • countryNameToAlpha2
    • timezoneLabels
    • allowedShortTags
    • timezoneLabelToOffsetHours
    • timezoneLabelToAbbreviation
    • worldRegionCopy
    • worldRegionToTz
    • alpha2ToWorldRegion

You can validate this JSON with the schema in:

  • packages/data/remote-metadata/remote-data.schema.json

The shape of these values matches the exports from @kit/data-remote.

How it is generated

Inside this monorepo, the JSON is generated by:

  • Script: packages/data/remote-metadata/scripts/export-json.ts
  • Command (from repo root):
    pnpm --filter @wollemia/remote-metadata run build

This script imports from @kit/data-remote, builds the aggregate payload, and writes remote-data.json.

CI publishing

GitHub Actions workflow: .github/workflows/publish-remote-metadata.yml

  • Triggers:
    • Manual: workflow_dispatch
    • Tag push: remote-metadata-v*
  • Steps:
    • Install deps with pnpm install
    • Build JSON with pnpm --filter @wollemia/remote-metadata run build
    • Publish with npm publish --access public from packages/data/remote-metadata

Consuming from other repositories

TypeScript / JavaScript

If you depend on the published package directly:

import data from '@wollemia/remote-metadata/remote-data.json' assert { type: 'json' };

const countries = data.countries;

Python

import json
import requests

VERSION = "0.1.0"
url = f"https://unpkg.com/@wollemia/remote-metadata@{VERSION}/remote-data.json"

resp = requests.get(url, timeout=5)
resp.raise_for_status()
data = resp.json()

countries = data["countries"]

Ruby

require "net/http"
require "json"

VERSION = "0.1.0"
url = URI("https://unpkg.com/@wollemia/remote-metadata@#{VERSION}/remote-data.json")

res = Net::HTTP.get_response(url)
data = JSON.parse(res.body)

COUNTRIES = data["countries"].freeze

Update cadence

Publish a new version when:

  • @kit/data-remote logic changes, or
  • Its underlying data sources (world-countries, @vvo/tzdb) are updated and you want those changes reflected downstream.