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

@kashscript/wallet

v0.1.0-alpha.0

Published

The wallet component — keys first, no account. Receives, holds, presents and exports signed records on the holder's own device: a hardware root that never signs, relationship keys that never leave in the clear, a proof switch that never leaves the device,

Readme

@kashscript/wallet

The wallet component: records held on the holder's own device, with keys first and no account. It receives records, holds them sealed and deletes them at expiry for real, answers a request with one yes and never the data, keeps the holder's own log, checks anyone's receipt offline, and exports everything as one documented file. Apache-2.0: holding, presenting and checking are free, and a stranger can build a competing wallet from the spec and the holder contract.

0.1.0-alpha.0, unpublished. The native half (Swift, Kotlin) compiles in an app's development build, not here. Recovery with helpers is an interface only until PL-2, and it says so. Nothing has run with a person.

import { createExpoWallet } from "@kashscript/wallet/expo";     // a phone: the secure chip
import { createWebWallet } from "@kashscript/wallet/web";       // a browser: weaker, and labelled so
import { createHeadlessWallet } from "@kashscript/wallet/headless"; // practice runs only

const wallet = await createExpoWallet({ pinnedPublishers: [PUBLISHER_DID] });
await wallet.unlock();                                   // one face, fingerprint or screen-lock prompt

await wallet.proof.set(place, "on", "The café");          // asked once per place; never pre-ticked
const view = await wallet.receive.open(scannedOffer);    // OID4VCI 1.0, pre-authorized
await wallet.receive.accept(view);

const ask = await wallet.present.open(scannedRequest);   // OID4VP 1.0; the ask checked first
await wallet.present.yes(ask);                           // or: wallet.present.no(ask) — sends nothing
const file = await wallet.exportAll({ passphrase });     // keys only when asked, encrypted
wallet.lock();                                           // when the app goes to the background

What it will not do. The hardware root never signs a record — it has no sign method, and the chip's key types can't. A key never leaves the device in the clear. The switch never leaves the device. No push token, install id or account id travels with anything, and a guard refuses any request carrying one relationship's identifier to another. It holds no money, balance or card; a thank-you is a single note, never summed. No default word names the ecosystem, a member, or a word a person must learn.

The Expo adapter autolinks the KashWalletRoot native module (ios/, android/) and needs a development build. React Native has no WebCrypto: install one (react-native-quick-crypto lists every algorithm used) before creating the wallet — checkRuntime() names anything missing. The root needs a screen lock, and on Android, version 12 or later.

The headless mode runs the wallet's scenarios for the simulation: bun run headless.