1.67K
total weekly downloads
117 packages
streetjs
Production-grade TypeScript backend framework. Native PostgreSQL wire driver, JWT, WebSockets, clustering, runtime input validation, field-level encryption, abuse prevention, moderation & privacy controls. No Express. No pg. No Prisma. Minimal, carefully
@streetjs/admin
Official Street Framework admin module: user management, RBAC roles & permissions, policy checks, and an append-only audit log with a query viewer.
@streetjs/admin-ui
Accessible, themeable React admin components for StreetJS (RBAC, audit logs, user management, multi-tenancy) built on @streetjs/react.
@streetjs/ai
Official Street Framework AI module: provider-agnostic chat, embeddings, RAG, and tool-calling with OpenAI/Anthropic/Ollama adapters and a deterministic in-memory provider for tests.
@streetjs/ai-router
StreetJS AI router: a model registry plus a routing AiProvider that selects among multiple providers by model, preference order, or cost, with automatic fallback on failure. Implements the @streetjs/ai provider contract (chat/embed/transcribe).
@streetjs/ai-ui
Accessible, themeable React AI components for StreetJS (chat, streaming, RAG search, tool viewer) built on @streetjs/react.
@streetjs/auth-ui
Accessible, themeable React auth components for StreetJS (login, register, forgot-password, MFA, profile) built on @streetjs/react.
@streetjs/cache
StreetJS in-memory cache foundation: a bounded LRU cache with per-entry TTL, periodic sweep of expired entries, and O(1) get/set/delete. Zero runtime dependencies.
@streetjs/cli
Street Framework CLI — scaffold, generate, migrate, and run TypeScript backend projects.
@streetjs/client
Universal, framework-agnostic, zero-dependency type-safe client SDK for StreetJS backends (browser + Node).
@streetjs/client-offline
StreetJS offline support for client apps: a read-through cache with TTL and a persistent, ordered mutation outbox with retry/backoff and online/offline flushing. Transport-agnostic and storage-pluggable; zero runtime dependencies.
@streetjs/cluster
StreetJS clustering foundation: a primary-process cluster coordinator that spawns workers across CPUs with IPC heartbeat monitoring and auto-restart, plus worker-side heartbeat/ready helpers. Zero runtime dependencies.
@streetjs/commerce
Official Street Framework commerce module: products, inventory (no oversell), carts, coupons, orders, reviews, recurring subscriptions with seat management, and a payment-gateway abstraction with a deterministic fake gateway.
@streetjs/config
StreetJS configuration foundation: typed, schema-validated, immutable configuration with pluggable sources (env, JSON, YAML, TOML, custom providers), namespaces, secret masking, descriptive startup validation, and a secret store (pluggable providers, cach
@streetjs/container
StreetJS dependency injection container: a singleton IoC registry with constructor-injection resolution, circular-dependency detection, and an @Injectable decorator. Backed by reflect-metadata.
@streetjs/context
StreetJS request/response context: a strict per-request StreetContext over Node's http req/res with JSON/text/HTML/send helpers, header and secure-by-default cookie handling, params/query/body/state, and a single-write guard.
@streetjs/core
DEPRECATED — use `streetjs` instead. Backward-compatibility shim that re-exports the streetjs package.
@streetjs/database
StreetJS database meta-package: a single import that re-exports the PostgreSQL wire driver (@streetjs/postgres), connection pool (@streetjs/pool), schema inspector, migration runner, and generic repository. No logic of its own.
@streetjs/dating-auth
Consumer-platform reference package: dating authentication built entirely on Street core JwtService, SessionManager, and AbuseEngine — no independent auth logic.
@streetjs/dating-messaging
Official Street Framework dating reference package: messaging between matched users with encrypted message content, refusing delivery while a block exists.
@streetjs/dating-moderation
Official Street Framework dating reference package: blocking and reporting built on the core ModerationToolkit.
@streetjs/dating-profiles
Official Street Framework reference package: dating profiles, likes, and reciprocal matching with encrypted bios.
@streetjs/devtools
Street Framework Interactive Developer Experience: a browser bundle delivering the Playground (route/middleware/plugin testing + OpenAPI viewer), Route Explorer, Dependency Graph Visualizer, and API Inspector, gated by a token-based, read-only authn/authz
@streetjs/diagnostics
StreetJS structured diagnostics reporter: serializes errors into clean JSON DiagnosticEvents on stderr, strips Node-internal stack frames, and emits a 'diagnostic' event. Zero runtime dependencies.
@streetjs/discord
StreetJS Discord connector: a typed Discord REST API client (channel messages, reactions, webhook execution) built on @streetjs/integrations, plus Ed25519 interaction-request verification.