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

@braedonsaunders/appkit-integrations

v3.0.0

Published

Production outbound automation with authoring UI, durable publication, retry ledgers, and optional HTTP, chat, Sheets, email, SQL, and Drizzle adapters.

Readme

@braedonsaunders/appkit-integrations

Build outbound automations as a complete pipeline: an application event selects matching automations, a durable queue isolates each delivery, the dispatcher maps data into a destination, and a per-record ledger makes retries safe.

pnpm add @braedonsaunders/appkit-integrations

The package is modular. The root contains the dependency-free event, registry, publisher, dispatcher, memory-store, idempotency, and authoring contracts. Add only the destination, React, or Postgres entry points your application uses.

Runtime

import {
  createIntegrationDispatcher,
  createIntegrationPublisher,
  createIntegrationRegistry,
  createMemoryIntegrationStore,
} from '@braedonsaunders/appkit-integrations'
import { httpDestination } from '@braedonsaunders/appkit-integrations/http'

const registry = createIntegrationRegistry({
  triggers: appTriggers,
  destinations: [httpDestination],
})
const store = createMemoryIntegrationStore(automationDefinitions)

const publishIntegrationEvent = createIntegrationPublisher({
  store,
  enqueueOutboundDispatch: outboundQueue.enqueueOutboundDispatch,
})
const dispatchOne = createIntegrationDispatcher({
  store,
  registry,
  unseal: applicationSecrets.unseal,
})

publishIntegrationEvent(context, event, sourceEventId) creates one stable job id per matching automation. A worker calls dispatchOne(context, automationId, event). Completed send-once deliveries are suppressed, partial deliveries resume known successes, reversible destinations receive prior external ids, and an explicit empty ref list clears stale ledger state.

Destinations

  • /http — public HTTPS REST requests with tokenized headers and bodies
  • /chat — Slack and Teams incoming webhooks, including Slack Block Kit
  • /sheets — Google Sheets append through service-account credentials
  • /email — sanitized token templates through an application-owned transport
  • /sql — TLS-only PostgreSQL, MySQL, MariaDB, and SQL Server delivery with identity-based reversal, weekly row fan-out, required-field filtering, and value maps

Each destination is an independent import. HTTP, chat, Sheets, and SQL reuse the hardened egress and database-driver entries from @braedonsaunders/appkit-sync; email accepts your queue or transport instead of choosing one for you.

Authoring UI

import { IntegrationBuilder, IntegrationHub } from '@braedonsaunders/appkit-integrations/react'

IntegrationHub provides the production connected-grid and searchable inbound or outbound catalogue. IntegrationBuilder includes trigger and destination selection, declared connection and secret fields, per-destination mapping editors, click-to-insert trigger tokens, send-once policy, connection testing, and save callbacks. It returns plaintext secret replacements separately so the server can seal them before persistence.

Postgres and RLS

@braedonsaunders/appkit-integrations/schema owns tenant_integrations and integration_export_log, including the composite tenant foreign key, soft deletion, lifecycle status, delivery details, and retry/reversal status. @braedonsaunders/appkit-integrations/drizzle requires an RLS tenant runner:

import { createDrizzleIntegrationStore } from '@braedonsaunders/appkit-integrations/drizzle'

const store = createDrizzleIntegrationStore(db, withTenant)

Install drizzle/0000_integrations.sql, include INTEGRATION_TENANT_TABLES in your RLS policy installation, and keep trigger catalogues, authorization, domain event shaping, credentials, and the durable queue in the application that owns them.