Skip to content
Install

Install

Durable email submission and recipient delivery tracking

For a published npm release:

TERMINAL
npm install @fungi.computer/carrier

pnpm, Yarn and Bun work the same way.

  • @fungi.computer/carrier
  • @fungi.computer/carrier/email
  • @fungi.computer/carrier/cloudflare
  • @fungi.computer/carrier/inspection
  • @fungi.computer/carrier/post
  • @fungi.computer/carrier/post-d1
  • @fungi.computer/carrier/post-postgres
  • @fungi.computer/carrier/testing

Installing @fungi.computer/carrier also installs @cloudflare/workers-types, @fungi.computer/almanac, @fungi.computer/cairn, @fungi.computer/watchdog, effect, pg, @types/pg.

TERMINAL
npm install @fungi.computer/carrier @fungi.computer/watchdog

The Node SQLite quick start imports Watchdog’s adapter directly.

Carrier is ESM-only. It depends on @fungi.computer/watchdog, effect, pg and @cloudflare/workers-types, which npm installs for you. The portable Email owner and SQLite Post run on any synchronous SQLite handle, such as Durable Object storage or node:sqlite in Node 24. The D1 and PostgreSQL Post adapters need a migrated database.

Entrypoints:

  • @fungi.computer/carrier and @fungi.computer/carrier/email: the Email API, createCarrier and its types.
  • @fungi.computer/carrier/cloudflare: createCloudflareCarrier for a Durable Object, and cloudflareEmailTransport.
  • @fungi.computer/carrier/inspection: read-only operator inspection.
  • @fungi.computer/carrier/post: Post over Durable Object SQLite.
  • @fungi.computer/carrier/post-d1 and @fungi.computer/carrier/post-postgres: Post over shared D1 or PostgreSQL.