wooksjs

Installation
SKILL.md

wooksjs

Typed composable framework for Node.js. Every piece of request/event data is accessed through composable functions — no req/res parameters, no middleware chains. Context is propagated via AsyncLocalStorage, so composables work transparently across async boundaries.

Adapters: HTTP, CLI, WebSocket, Workflows. Plus a standalone WebSocket client.

Architecture

Composable pattern

All public API is accessed through composable functions created with defineWook(factory). Each composable is cached per event context — call it multiple times, get the same result:

import { defineWook } from '@wooksjs/event-core'

export const useFoo = defineWook((ctx) => ({
  bar: () => ctx.get(someSlot),
}))
Installs
23
Repository
wooksjs/wooksjs
First Seen
Apr 14, 2026