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

@inacta-ag/cryptostamps

v1.0.0

Published

Swiss Crypto Stamps wallet and address check as web components, with React components for Next.js

Readme

@inacta-ag/cryptostamps

Die Swiss-Crypto-Stamps-App für Next.js: Paper Wallet, digitales Wallet (MetaMask), Galerie, Kombinieren von Marken, Statistik und die Adressprüfung auf der Seite einer Version.

Installation

npm install @inacta-ag/cryptostamps

Voraussetzung ist React 18 oder neuer. In Next.js ist nichts weiter zu konfigurieren.

Verwendung

Wallet-Seite:

import { CryptoStampsWallet } from '@inacta-ag/cryptostamps/react';

export default function WalletPage() {
  return <CryptoStampsWallet lang="de" />;
}

Seite einer Version, mit allen Serien der Version (siehe Versionsseiten):

import { CryptoStampsAddressCheck } from '@inacta-ag/cryptostamps/react';

<CryptoStampsAddressCheck series="8, 8m" tokenId={1} lang="de" />

Die Komponenten lassen sich direkt in Server Components verwenden. Sichtbar werden sie erst im Browser.

| Komponente | Prop | Bedeutung | |---|---|---| | alle | lang | de, fr, it oder en, ohne Angabe Deutsch. Pro Seite gilt eine Sprache | | alle | nonce | Nonce der Content Security Policy, falls nicht von der Seite übernommen | | CryptoStampsAddressCheck | series | Serien der Version, kommagetrennt, z. B. "8, 8m" | | CryptoStampsAddressCheck | tokenId | Eine Zahl grösser 0, z. B. 1. Die Prüfung vergleicht nur die Serien. Ohne Angabe zeigt sie einen Konfigurationsfehler |

Die Adressprüfung übernimmt die Adresse aus der URL (?a=0x…), wie sie der QR-Code einer Marke verlinkt.

Versionsseiten

Der Details-Button einer Marke und die Links der Adressprüfung auf Marken anderer Serien führen auf die Seite der Version der Marke, in der Sprache aus lang. Die Links der Adressprüfung hängen die geprüfte Adresse an (?a=0x…), die Adressprüfung dort prüft sie gleich.

| Version | Pfad (Deutsch) | series der Adressprüfung | |---|---|---| | CHLI3 | /de/crypto-stamp/chli3 | "8, 8m" | | CHLI2 | /de/crypto-stamp/fruehere-ausgaben/chli2 | "7ch, 7li, 7m" | | CHLI | /de/crypto-stamp/fruehere-ausgaben/chli | "6ch, 6li, 6m" | | CS5 | /de/crypto-stamp/fruehere-ausgaben/cs5 | "5, 5sb, 5ss, 5sg, 5ue" | | CS4 | /de/crypto-stamp/fruehere-ausgaben/cs4 | "4, 4a, 4s, 4u, 4m" | | CS3 | /de/crypto-stamp/fruehere-ausgaben/cs3 | "3, 3s" | | CS2 | /de/crypto-stamp/fruehere-ausgaben/cs2 | "2" | | CS1 | /de/crypto-stamp/fruehere-ausgaben/cs1 | "1" |

Die früheren Ausgaben heissen in den anderen Sprachen /en/crypto-stamp/previous-editions/…, /fr/crypto-stamp/editions-precedentes/… und /it/crypto-stamp/edizioni-precedenti/….

Anforderungen an die Seite

  • Versionsseiten: Die Pfade aus Versionsseiten müssen auf der Website existieren.

  • MetaMask: Für das digitale Wallet braucht der Browser die MetaMask-Erweiterung.

  • Styles: Die App bringt ihre Styles selbst mit. Seite und App beeinflussen ihr Aussehen gegenseitig nicht.

  • Content Security Policy, falls die Seite eine hat:

    script-src     'nonce-…' 'strict-dynamic'   (ohne Nonce: 'unsafe-inline')
    style-src      'nonce-…'                    (ohne Nonce: 'unsafe-inline')
    style-src-attr 'unsafe-inline'
    img-src        data: https://media.post.ch
    media-src      https://media.post.ch
    connect-src    https://polygon-mainnet.infura.io https://gasstation-mainnet.matic.network

    Die Nonce übernimmt das Paket von den Scripts der Seite oder aus der Prop nonce.