$ npm install @epic-web/workshop-presencePresence (who’s here) utilities for the Epic Workshop ecosystem.
This package contains:
presence) used by clients and serverspresence.server) that fetches and enriches presence data
for rendering in the workshop appnpm install @epic-web/workshop-presence
import { UserSchema, type User } from '@epic-web/workshop-presence/presence'
const user = UserSchema.parse({ id: '123' }) satisfies User
import { getPresentUsers } from '@epic-web/workshop-presence/presence.server'
const users = await getPresentUsers({ request })
getPresentUsers is intended to be called from server code (it integrates with
workshop auth/preferences when available).
https://github.com/epicweb-dev/epicshop/tree/main/docsGPL-3.0-only.