Skip to content
@prsmjs

prsmjs

prsm

Small, focused packages for Node.js. Each one does one thing well. Many are distributed, backed by Redis or Postgres with leader election, clustering, and shared state built in. All ESM, zero or minimal dependencies, published under the @prsm scope on npm.

Packages

Package Test Version Description
@prsm/ms test npm Parse and convert time strings to milliseconds
@prsm/ids test npm Short, obfuscated, collision-proof, reversible identifiers
@prsm/hash test npm Simple salted string hashing on top of node:crypto
@prsm/from test npm Fluent query builder for filtering, transforming, and aggregating arrays of objects
@prsm/fsm test npm Non-deterministic finite state machine with time-based ticks, persistence, and multiple active states
@prsm/lock test npm Distributed locking primitives for Redis - mutex and semaphore
@prsm/limit test npm Redis-backed distributed rate limiting with token bucket, sliding window, and leaky bucket algorithms
@prsm/cache test npm Distributed cache with stampede prevention, stale-while-revalidate, and tag invalidation
@prsm/trace test npm Distributed trace propagation with W3C TraceContext, AsyncLocalStorage, and framework adapters
@prsm/cron test npm Redis-backed distributed cron scheduler with leader election and cron expression support
@prsm/queue test npm Redis-backed distributed task queue with grouped concurrency, retries, and rate limiting
@prsm/cells test npm Reactive computation graph with distributed coordination via Redis
@prsm/workflow test npm Durable, inspectable workflow engine
@prsm/meter test npm Durable usage metering for billing and quotas, backed by postgres
@prsm/entitle test npm Plan-based entitlements and feature gating, resolved at runtime, backed by postgres
@prsm/realtime test npm Distributed WebSocket framework with Redis-backed rooms, records, presence, channels, collections, and persistence
@prsm/log test npm Structured logging with child contexts
@prsm/devtools npm Read-only Express middleware dashboard for observing @prsm infrastructure at runtime
@prsm/ai test npm Composable LLM inference with multi-provider support, tool execution, streaming, structured output, and approval workflows
@prsm/embed test npm Text embeddings with multi-provider support, batching, and cosine similarity
@prsm/imagegen test npm Image generation across OpenAI, xAI, and Google with normalized options and raw provider passthrough

This ecosystem is an experiment in AI-maintained open source. All packages are autonomously built, tested, and refined by AI with human oversight. Regular audits, thorough test coverage, continuous refinement - the emphasis is on high quality, rigorously tested, production-grade code.

Popular repositories Loading

  1. queue queue Public

    JavaScript 1

  2. ids ids Public

    JavaScript 1

  3. hash hash Public

    JavaScript 1

  4. devtools devtools Public

    Vue 1

  5. fsm fsm Public

    JavaScript

  6. ms ms Public

    JavaScript

Repositories

Showing 10 of 22 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…