Skip to content
PluginStats

@intentface/latch-drizzle weekly downloads statistics

By intentface (10 listings) · npm · AI SDKs

Latch StorageAdapter on Drizzle (SQLite/libsql first, Postgres next).

View on npm Outdated · Nov 10, 2026

@intentface/latch-drizzle has 184 recorded weekly downloads on npm, a decrease of 42.3% over the past 30 days, ranking #2519 of 3,247 tracked listings.

Weekly downloads
184
Official API · Dec 5, 2026
7-day growth
+15.7%
+25 weekly downloads
30-day growth
-42.3%
-135 weekly downloads
90-day growth
—
Insufficient history
Rank
#2519
▼ 94 in 7 days

About @intentface/latch-drizzle

@intentface/latch-drizzle

The persistence tier for Latch — a StorageAdapter and SecretStore implemented on Drizzle (libsql/SQLite first-class, Postgres alongside).

What it does

  • createSqliteAdapter / (pg variant) — the StorageAdapter the runtime persists through: chats, messages (the AppMessage source of truth), runs (status, leases, usage, cost incl. cached-token split), usage ledger, and schedules. Owner-keyed for org/user isolation (the owner fn derives the key from your Principal).
  • createSqliteSecretStore — the encrypted record store behind the core Vault (it never sees plaintext; the Vault wraps/unwraps).
  • migrate(client) — creates the latch_* tables (CREATE TABLE IF NOT EXISTS) plus idempotent ALTERs for columns added later (timezone, cached-token counts, …). Safe to run at startup; no migration tooling required.

Tables: latch_chats, latch_messages, latch_runs, latch_usage, latch_secrets, latch_schedules.

Usage

import { createClient } from "@libsql/client";
import { createSqliteAdapter, createSqliteSecretStore, migrate } from "@intentface/latch-drizzle";

const client = createClient({ url: DATABASE_URL, authToken: TURSO_AUTH_TOKEN });
await migrate(client);

const owner = (p: Principal) => (p.userId ? [p.orgId, p.userId] : [p.orgId]);
const storage = createSqliteAdapter<Principal>(client, { owner });

Owner-key contract. owner must be a pure projection of the stable part of your principal — durable ids from your database, never per-session state (an "active org" that can be null on some requests will silently split one user's data across two keys). The key is derived once, at root-resource creation; child rows inherit it. Never re-derive it from a live principal in a different request context (OAuth callbacks, webhooks, cron) — pin identity into the flow/run and rebuild it via reconstructPrincipal instead.

Where it fits

The T1 (persistence) tier under @intentface/latch-core. Swap it for another StorageAdapter implementation behind the same contract.

Description from the npm listing.

  • ai
  • ai-sdk
  • agents
  • llm
  • drizzle-orm
  • sqlite
  • postgres
  • persistence

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@intentface/latch-drizzle weekly downloads on npm, last 90 days: 184 weekly downloads as of Dec 5, 2026.@intentface/latch-drizzleWeekly downloads on npm · Last 90 days184downloads / week02004006008001K1.2K1.4KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@intentface/latch-drizzle weekly downloads on npm, last 90 days: 184 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@intentface/latch-drizzle weekly downloads growth on npm: +15.7% over 7 days, -42.3% over 30 days, 90-day growth unavailable.@intentface/latch-drizzleWeekly downloads growth on npm184downloads / week now7-day growth+25 weekly downloads+15.7%30-day growth-135 weekly downloads-42.3%90-day growth+184 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@intentface/latch-drizzle weekly downloads growth on npm: +15.7% over 7 days, -42.3% over 30 days, 90-day growth unavailable.

Ranking history

@intentface/latch-drizzle npm ranking history: currently #2519 (by weekly downloads).@intentface/latch-drizzlenpm ranking · by weekly downloads · Last 90 days#2519current rank#1400#1600#1800#2000#2200#2400#2600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 29 observations · Updated Dec 5, 2026pluginstats.com
@intentface/latch-drizzle npm ranking history: currently #2519 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 126, #19 (overall #2,519)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 16, #6 (overall #306)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @intentface/latch-drizzle
Date (UTC)Weekly downloadsChange vs. previous
184-11
195-24
219-9
228+65
163+11
152-38
190+31
159-27
186+20
166+23
143-19
162-2
164-9
173—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@intentface/latch-drizzle. First seen Oct 16, 2026; last successful collection Nov 10, 2026. See the methodology.