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

@absolutejs/secure-transfer-webcrypto

v0.1.1

Published

WebCrypto AES-256-GCM authenticated-record provider for @absolutejs/secure-transfer.

Readme

@absolutejs/secure-transfer-webcrypto

Interchangeable WebCrypto provider for @absolutejs/secure-transfer. Each transfer receives fresh random AES-256-GCM key material and a 96-bit nonce base. Every record nonce is derived by XORing that base with the record sequence, following the construction used by RFC 8188. Record metadata is authenticated as additional data.

import { createSecureTransferWebcryptoProvider } from "@absolutejs/secure-transfer-webcrypto";

const cryptoProvider = createSecureTransferWebcryptoProvider();

Protect resumable-upload receipts with a separate root key:

const receiptProtector = await createSecureTransferWebcryptoReceiptProtector({
  key: crypto.getRandomValues(new Uint8Array(32)),
});

Persist that root key in a platform keystore rather than regenerating it. It is imported as a non-exportable HKDF key, derives an isolated AES-256-GCM key for each receipt ID, and uses a fresh 96-bit nonce for every checkpoint. Do not reuse the transfer content key as the receipt root key.

The capability contains the content key and nonce base. It is a bearer secret and must only appear inside an E2EE-protected transfer descriptor. This provider does not store or distribute capabilities.

The provider caps plaintext records at 16 MiB and the number of records at 1,048,576. Applications should normally choose smaller records for bounded memory and resumability.

This is an experimental 0.x release without an independent audit. Run bun run certify:browser from the repository root to repeat the real Chromium round-trip and context-substitution gate.

License

Apache-2.0