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

@tiketo/pkpass-preview

v0.0.2

Published

React component for previewing Apple Wallet passes (.pkpass) in the browser.

Downloads

324

Readme

@tiketo/pkpass-preview

React component for previewing Apple Wallet passes (.pkpass) in the browser. Renders pass JSON + assets the way iOS does, side-by-side with a real device screenshot when needed.

Status: scaffold. The component source is still being ported from the private predecessor tiketocz/pkpass-builder-ui. Track progress in TIK-119.

Milestones

| Ticket | Milestone | Status | |---|---|---| | TIK-120 | M1.0 — repo skeleton (no source yet) | this PR | | TIK-121 | M1.1 — source port + Storybook 8 base | pending | | TIK-122 | M1.2 — tools (sign-fixture, api-snapshot) | pending | | TIK-123 | M1.3 — publish workflows + Changesets + VRT info-only | pending | | TIK-124 | M1.4 — fixtures + v1.0.0 release | pending |

Stack

  • Runtime (consumers): React ^18 || ^19
  • Package manager / dev runtime: Bun (packageManager pinned in root package.json)
  • Bundler: Bun.build() — ESM-only, ES2022 target, .d.ts + .d.ts.map
  • Linter / formatter: Biome
  • Tests: Vitest
  • TypeScript: strict, moduleResolution: bundler, noUncheckedIndexedAccess, exactOptionalPropertyTypes

Repository layout

pkpass-preview/
├── packages/
│   └── preview/       # @tiketo/pkpass-preview — the published library
├── tests/             # workspace-level tests (smoke + integration)
├── biome.json
├── tsconfig.base.json # shared TS options
├── tsconfig.json      # root project, includes all sources
└── vitest.config.ts

In later milestones: packages/storybook/ (M1.1, side-by-side Storybook 8 + GitHub Pages), tools/ (M1.2, fixture signing + API snapshot), .changeset/ (M1.3), static/ (M1.4, iOS reference screenshots).

Local dev

Prerequisites

  • Node 24 — nvm use reads .nvmrc
  • Bun (latest)

First-time setup

bun install

Common scripts

bun run lint        # biome check .
bun run lint:fix    # biome check --write .
bun run format      # biome format --write .
bun run typecheck   # tsc --noEmit
bun run test          # vitest run (one-shot)
bun run test:watch    # vitest (watch mode)
bun run test:coverage # vitest run + v8 coverage report (html in coverage/)

Frozen API contract

The published package @tiketo/pkpass-preview is the public successor to the private pkpass-builder-ui. Consumers must be able to swap their import path with zero code changes.

  • Exports from packages/preview/src/index.ts are bit-identical with the private predecessor at HEAD
  • package.json exports map paths are stable across versions within the same major
  • Breaking changes require a major version bump (Changesets)
  • Once v1.0.0 is tagged, TIK-122's tools/api-snapshot.ts enforces this as a blocking PR check (info-only until then)

Release

(Configured in TIK-123.) Tag-driven via Changesets:

bunx changeset                       # describe the change
bunx changeset version               # bump versions + write CHANGELOG.md
git push                             # PR + merge
git tag v1.0.0 && git push --tags    # fires npm-publish workflow

npm-publish uses OIDC trusted publisher (no static NPM_TOKEN); the package must be registered on npmjs.com with this repo as the trusted publisher before the first publish.