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

@globiguard/sdk

v2.0.0

Published

Server-first TypeScript SDK for GlobiGuard control-plane and trusted decision-engine connectivity.

Readme

@globiguard/sdk

Server-first TypeScript SDK for the GlobiGuard control plane and trusted decision-engine connectivity.

Runtime expectations

  • Node.js 22+ for server usage
  • standards-based fetch, Headers, FormData, and Blob support
  • browser usage is supported only through the browser-safe client surface

Trust-boundary rule

createBrowserClient() stops at the control plane.

Direct decision-engine access is reserved for createServerClient() in trusted runtimes using secret or local credentials.

Surface split

  • Browser-safe control-plane access: action authorization status, approval status, evidence references/summaries, incident replay metadata, install registration/heartbeat plus audit, policy, queue, and workflow reads
  • Trusted server management: governed action authorization, approval creation, approval wait/polling, queue approvals, workflow management/runs, policy management, org management, API-key administration, audit evidence exports, incident replay lookup, and trust webhook verification through @globiguard/sdk/server
  • Realtime subscriptions are intentionally split into @globiguard/realtime so ordinary SDK installs do not pull websocket dependencies unless the app opts in to the control-plane websocket gateway.
  • Audit evidence exports return a typed evidence-package artifact with requested scope, control mappings, provenance references, review history, and summary metadata aligned to the live control-plane export shape

Governed action quickstart

Authorize actions only from a trusted runtime:

const decision = await serverClient.governedActions.authorizeAction({
  context: {
    actionType: "email.send",
    destination: { type: "email", name: "customer-email" },
    dataClasses: ["PII"],
    payloadSummary: { topLevelKeys: ["recipient", "body"] },
    idempotencyKey: "claim-123:email-status"
  }
});

if (decision.decision === "ALLOW" || decision.decision === "MODIFY") {
  await sendClaimStatusEmail();
}

Use a stable persisted idempotency key. A fresh random key per retry can duplicate queued/resumed business actions.

Use actionGateway: { mode: "sidecar" } with services.sidecar, or mode: "gateway" with services.gateway, to route authorization through a local sidecar or governed gateway. Browser clients expose only client.actions.getAuthorization(), getApproval(), evidence reads, and incident replay metadata.

Webhook verification

import { verifyTrustWebhook } from "@globiguard/sdk/server";

const verification = await verifyTrustWebhook({
  headers,
  rawBody,
  signingSecret,
  seenDelivery: async (deliveryId) => alreadyProcessed(deliveryId)
});

The verifier checks signature, timestamp, event type, delivery ID, replay window, and optional duplicate delivery state. It fails fast in browser runtimes.

Compatibility: governed-action payloads use contract version 2026-04-action-beta and require a GlobiGuard control plane or action gateway that implements the same version.