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

@helixid/sdk-js

v0.5.0

Published

Cryptographic identity and authorization SDK for AI agents

Readme

helix-sdk-js

TypeScript/JavaScript SDK for HelixID — HelixClient, local signing primitives, and DID/VC/VP construction and verification.

Architecture

Follows the SDK-API-only design (see docs/proposal-sdk-api-only.md and docs/proposal-retire-core-package.md in the helixid/helixid repo): every SDK, in every language, depends only on the HelixID API — never on a shared "core" package — except for private-key operations that must stay local: keygen, sign, canonical-hash, and VPBuilder.sign(), which issuers and Service Providers still use to sign with their own keys. Verification, delegation-VC construction, DID resolution, and status checks are all API calls made through HelixClient.

Agents hold no keys. Agent self-custody has been retired: the server generates an agent's keypair during onboarding and holds the private key, so onboarding, presenting, and delegating are all API calls (HelixClient.onboardAgent(), signVP(), delegateAuthority()). AgentWallet remains for other actors' key storage (e.g. an issuer's or Service Provider's own key material), not for agent onboarding.

Modules

| Module | Purpose | |---|---| | client/ | HelixClient — the main public API surface: onboarding, server-side VP signing/delegation, DID/VC lifecycle, verification | | core/ | Local-signing primitives (keygen, sign, canonical-hash, Ed25519 proof, JWT) plus the DID/VC/VP schemas and types shared across the package | | wallet/ | AgentWallet — encrypted local key/DID/VC storage, for issuer/SP key material, not agent onboarding | | resolver/ | HelixDidResolver — DID resolution via the API | | session/ | SessionManager — session-token issuance/verification | | http/ | HttpAdapter — internal HTTP client | | audit/ | SDK-side audit log implementation | | delegation.ts | Wallet-based delegate() — builds and signs a delegation VC via the API's prepare/finalize endpoints, for callers that still hold their own key | | grant.ts | SP-side issueGrant() / revokeGrant() — signs and revokes DelegationGrantCredentials with the SP's own key | | renewal.ts | renewAgentVC() — renews a VC via the prepare/finalize flow | | scope.ts | checkScope() / requireScope() — local checks against a verification result's effectiveScopes | | verify.ts | verifyVP() — thin wrapper over HelixClient.verifyVP(); there is no local verification fallback by design | | vp-builder.ts | VPBuilder — local VP construction and signing (the explicit private-key carveout above) |

HelixClient is the primary entry point for the API-backed flows (onboarding, signing, delegation, verification, DID/VC lifecycle), but the package also exports VPBuilder, AgentWallet, generateKeyPair, and the other local-signing primitives directly for callers that need them — see src/index.ts for the full public surface.

Scripts

npm run build          # Compile TypeScript
npm run test           # Run tests with coverage
npm run test:security  # Run security tests
npm run lint           # ESLint
npm run typecheck      # Type-check without emitting