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

@clawnify/integrations

v0.2.2

Published

Connection descriptor registry for Clawnify apps. Encodes — once, per integration — how a credential is accessed and what its typed client looks like, so app code never carries integration-specific plumbing. Broker-agnostic: the provider that actually hol

Readme

@clawnify/integrations

The connection descriptor registry for Clawnify apps. One descriptor per integration encodes — once — how its credential is reached and what its typed client looks like, so app code never carries integration-specific plumbing.

This package holds the knowledge; @clawnify/connections holds the accessors (connect, secret, describe) that turn that knowledge into runtime clients. Apps depend on @clawnify/connections and rarely import this package directly.

What a descriptor is

interface ConnectionDescriptor<Client> {
  service: string;   // "googleads"  — the id used in clawnify.json `requires`
  label: string;     // "Google Ads"
  kind: "oauth" | "managed" | "key" | "secret";
  envName?: string;  // for key/secret: the injected env var name
  accessor: string;  // one-line snippet shown to agents via describe()
  client?(ctx): Client;  // builds the typed client (oauth/managed only)
}

A descriptor describes a capability, never a vendor. Whether a connection resolves through a managed provider, a self-configured connection, or a future backend is decided entirely inside the Clawnify credentials worker and is invisible here — descriptors only ever see ctx.token() and ctx.run(action).

Kinds

| kind | how it's reached | client | example | |------|------------------|--------|---------| | oauth | bearer token, app calls the vendor API directly | yes | metaads | | managed | a managed action runs the call (app needs no extra creds) | yes | googleads | | key | a provider API key injected as an env var | no — use secret() | openrouter | | secret | an arbitrary user-defined secret env var | no — use secret() | — |

You only add a descriptor when you want a typed client

A new integration does not need an entry here to work. @clawnify/connections falls back to a generic token() + run(action) client for any unregistered service, so a toolkit added in the dashboard is usable with zero package change and zero release. You add a descriptor only to upgrade one integration from generic to first-class (connect("x").query(...) instead of raw run(...)).

That means this package is released on its own cadence — when an integration earns a bespoke client — not every time the catalog grows.

How to add one

Add a file under src/descriptors/, register it in src/registry.ts, and (if it exposes a client) add its client type to ServiceClients. Keep every broker-specific identifier (managed action slugs, base URLs, response quirks) inside the descriptor — that is the whole point.

Provisioning a connection still happens only in the Clawnify dashboard. A descriptor declares how to use a connection, never how to create one.