New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
s

stevegires

npm

50.11K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

138 packages

@alxia/access

Permissions, roles and guards for an application: a role catalogue built from the modules' permissions and default grants, boot errors for an unknown or duplicate permission, request guards over a tenant scope and a hook mapping refusals to the host's err

@alxia/cache

HTTP response caching for alxia: TTL, stale-while-revalidate, one load for concurrent misses, tags, ETags — in memory, or in Redis with @alxia/redis

@alxia/clavix

Verify the access tokens Clavix issues in an alxia API: a multi-tenant issuer allow-list on the RFC 9068 profile of @alxia/jwt

@alxia/client

The typed fetch client of an @alxia/core app, inferred from its type: no codegen, no spec

@alxia/compress

Response compression for alxia: zstd, Brotli, gzip and deflate, negotiated, streamed, with no dependency

@alxia/context-storage

The request's context anywhere it runs — a service, a repository, a logger — through AsyncLocalStorage: alxia's hono/context-storage, typed by the app

@alxia/core

A zero-dependency, type-safe HTTP framework for Bun: routes validated with any Standard Schema, typed from the request to the reply, OpenAPI spec first

@alxia/cors

CORS for alxia: preflights answered before routing, and the headers a browser needs on every response

@alxia/create

Start an alxia app: `bun create @alxia` writes a minimal API, a spec-first one, a GraphQL one, or React Router's official template served by alxia

@alxia/di

Dependency injection for alxia on @softistx/di: a lazy Scope per request, disposed when it ends, and typed values exposed to the routes that read them

@alxia/env

Environment variables, validated and typed with any Standard Schema, secrets redacted, failing at startup with every issue

@alxia/events

An event bus for an application on @softistx/mongo and @softistx/redis: events written to a transactional outbox with the domain change, relayed to queues, delivered at least once and applied once through an inbox

@alxia/graphql

GraphQL for alxia with GraphQL Yoga: its plugins, subscriptions over SSE or WebSocket (graphql-ws) and GraphiQL, behind the app's hooks, its resolvers reading the app's typed context

@alxia/i18n

Translations for alxia on @softistx/i18n: t() bound to the request's language, keys typed by your catalogue, ICU messages

@alxia/janus

Identities and sessions for alxia on @softistx/janus: the user typed in the context, the session cookie kept and renewed, a typed 401

@alxia/jwt

JSON Web Tokens for alxia, on Web Crypto: HS256, ES256, RS256, EdDSA, an identity provider's JWKS (Keycloak, Auth0, Ory), and a typed bearer guard

@alxia/language

The request's language for alxia, typed as the languages you support: from the query, a cookie, the path or Accept-Language, weights and regions included

@alxia/logger

Request logging for alxia: a request id, structured log lines, Server-Timing, and a log bound to the request

@alxia/media

Media through the API for alxia: kinds with their authorization, content types, size limit and throttle, and the routes that stream a private bucket's files with Range, ETag and 304; @alxia/media/image makes the PNG or WebP sizes of a picture at upload

@alxia/modules

Modules for an application: a manifest per module, a registry resolved in dependency order, typed collection access limited to what a module owns or depends on, and a test that holds the module boundaries

@alxia/openapi

OpenAPI spec first for @alxia/core: the routes of an app bound to the operations generated from its document, and checked against them

@alxia/openapi-routes

Deprecated: moved to @alxia/openapi, which this release re-exports

@alxia/proxy

A reverse proxy for alxia: forward a path or a prefix to a fixed upstream, streamed both ways, behind the app's own middlewares

@alxia/rate-limit

Rate limiting for alxia: a 429 with Retry-After past the limit, the remaining allowance typed in the context, pluggable stores

@alxia/react-router

alxia as the server of a React Router framework app: server rendering behind the app's hooks, loaders reading its typed context, the client's assets served; the code with no UI an installable app shares (`/pwa`), its hooks (`/pwa/react`), `noCache` for th