New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started
s

strav

npm

1.03K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

42 packages

@strav/audit

Append-only, tamper-evident audit log for the Strav framework

@strav/auth

Strav authentication — Hasher (argon2id), guards, ctx.auth, auth middleware

@strav/brain

Strav AI module — unified Provider interface, BrainManager, threads, prompt caching, tools / agents / MCP. Anthropic + OpenAI providers; Gemini / DeepSeek follow.

@strav/broadcast

Strav broadcast / pub-sub primitive — Broadcaster interface + MemoryBroadcaster (in-process) + PostgresBroadcaster (polling-ledger backplane) + per-channel authorization. Pairs with @strav/http's router.sse and @strav/notification/broadcast.

@strav/cache

Strav cache layer — Cache abstraction + MemoryCache (in-process) + PostgresCache (cross-process ledger) + RedisCache (Bun.RedisClient, all data structures incl. tagged sets) + MemcachedCache (text-protocol client over Bun.connect). Atomic increments, dist

@strav/captcha

Strav CAPTCHA primitive — stateless HMAC-signed tokens + pluggable challenge registry. Ships honeypot, hashcash-style proof of work, and inline-SVG distorted-text challenges in the root, with HTTP middleware + validation rule + refresh routes under @strav

@strav/cli

Strav CLI layer — Command base, signature parser, ConsoleProvider, interactive prompts on top of @strav/kernel's ConsoleKernel

@strav/create

Scaffold a new Strav application

@strav/database

Strav database layer — Postgres connection pool, schema DSL, migrations (Bun.sql, no native deps)

@strav/devtools

Debug inspector and performance monitor for the Strav framework

@strav/durable

Strav durable execution — crash-resumable sequential workflows on top of @strav/queue + Postgres. V1: sequential .step() with retries + saga compensation. V2 adds parallel/route/loop/sleep/waitForSignal.

@strav/faker

Simple and powerful fake data generator for testing in the Strav framework

@strav/flag

Strav feature-flag primitive — FlagManager + scope-aware resolution + in-memory store, with Postgres store, HTTP middleware, and CLI commands shipped under subpaths. Mirrors @strav/cache: kernel-free core in the root, every backend/integration under its o

@strav/herald

Strav micro-publishing — provider-agnostic abstraction for publishing posts to social platforms (Google Business Profile, Meta/Facebook + Instagram, WordPress). Normalized PublishInput + capability-flagged drivers + inbound webhook registry for engagement

@strav/http

Strav HTTP layer — Router, HttpKernel, HttpContext, middleware composition

@strav/image

Strav image layer — fluent, driver-based image manipulation (Intervention-style) over sharp/libvips. Bytes-first core with an optional @strav/storage bridge; the sharp driver ships under @strav/image/sharp and carries the only native dependency. Drawing +

@strav/instant

Strav instant messaging — provider-agnostic abstraction for SEA messengers. Normalized OutgoingMessage + capability-flagged drivers + webhook receiver. Ships LINE (Flex / rich menus / LIFF), Telegram (inline keyboards / Web Apps), WhatsApp (interactive /

@strav/jina

Headless authentication flows for the Strav framework

@strav/kernel

Strav kernel — IoC container, service providers, lifecycle, config, events, helpers

@strav/line

LINE Messaging API SDK for the Strav framework — Flex Messages, Rich Menu, Quick Reply, LIFF, and message content download

@strav/machine

Strav state machines — declarative transitions with guards, effects, events + a stateful() Repository mixin.

@strav/mail

Strav signal layer — mail (core + array/log transports + Mailable + queue-dispatch); notifications + SSE + broadcast follow in later slices

@strav/mcp

Model Context Protocol (MCP) server for the Strav framework

@strav/notification

Strav multi-channel notifications — NotificationManager fan-out across channel drivers (mail / database / log / webhook / broadcast / discord / sse). Manager+drivers shape; new channels register via `manager.extend(name, factory)`.

@strav/oauth2

OAuth2 server implementation for the Strav framework