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

@polycyphers/license

v1.1.0

Published

Runtime license verification for @polycyphers/* commercial packages — Ed25519 signed tokens, offline verify, revocation list, watermark injection

Readme

@polycyphers/license

Runtime license verification for Polycyphers commercial packages.

Ed25519-signed tokens, 100% offline verification, cryptographic forgery resistance, and a single setLicense() call for your whole app.

Free and MIT-licensed — this package itself costs nothing. It's the verification layer that reads your paid license keys and tells the @polycyphers/* packages whether to watermark.

Install

npm install @polycyphers/license

Usage

One call at app bootstrap covers every @polycyphers/* package you use:

// main.tsx / main.ts
import { setLicense } from "@polycyphers/license";

setLicense(import.meta.env.VITE_POLYCYPHERS_LICENSE);

That's it. Every @polycyphers/* package reads from the shared state automatically. If the token is valid, everything renders normally. If invalid/expired/revoked, a watermark appears and a console warning explains what went wrong.

Getting a license

How it works

  1. Ed25519 signed tokens. Your license is a base64url-encoded JSON payload + a 64-byte Ed25519 signature. Only our private signing key can produce valid tokens.
  2. Offline verification. The public keys are baked into this package's bundle. Verification is a cryptographic operation, not a network call. Works in air-gapped environments.
  3. Hybrid revocation (coming soon). A signed revocation list on our CDN catches leaked/abused keys. Checked in background, cached locally, soft-fails on network errors.

API

setLicense(token: string): void

Register a license token. Call once at app bootstrap.

getLicenseState(): LicenseState

Returns current state: { status, payload, reason }.

isLicensed(): boolean

Quick readiness check used by packages internally.

subscribe(listener: () => void): () => void

Subscribe to state changes. Returns an unsubscribe function.

License

MIT — this verification runtime is free. The @polycyphers/* packages that use it are commercial.

Links