Skip to content

Scoped NPM Package Matrix ​

All official packages in the @shukoi/* namespace adhere to strict architectural boundaries:

Package NamePurposeNode.js Built-insTarget RuntimePrimary Exports
@shukoi/coreUniversal Action Engine, Adaptive Validator, Single-Flight Auth, Sterile Logger, Testing Double HarnessForbidden (Pure Web Standard)All RuntimesdefineAction, executeAction, DomainError, createDefaultConfig, compileValidator
@shukoi/apiProtocol Module A: Hono REST Router, Stream-Bounded Ingress (413), OpenAPI 3.1.0 Generator, Universal RFC 9457 Problem DetailsForbidden (Pure Web Standard)All RuntimescreateRestRouter, generateOpenApiSpec, readBoundedJsonStream, coercePrimitiveParam
@shukoi/mcpProtocol Module B: Streamable HTTP (./http) & Sterile STDIO (./stdio) MCP Transports for Tools, Resources, and PromptsAllowed only in ./stdioEdge & Node/BuncompileMcpCatalog, createScopedMcpServer, mountMcpHttpRoutes, startStdioServer
@shukoi/cloudflareCloudflare Workers V8 Isolate Adapter with getCloudflareContext, waitUntil, and in-memory D1/KV mocks (./testing)Forbidden (Pure Web Standard)Cloudflare WorkerstoCloudflareWorker, getCloudflareContext, createMockCloudflareContext
@shukoi/lambdaAWS Lambda Adapter with dynamic deadline subtraction, API Gateway v1/v2 & ALB handling, cookies, and in-memory mocks (./testing)PermittedAWS LambdatoLambdaHandler, getLambdaContext, createMockLambdaContext
@shukoi/selfhostLong-running Bun and Node server with OOM 413 defense, Graceful Drain State Machine, Kubernetes /healthz probes, and in-memory mocks (./testing)PermittedBun 1.2+ / Node 22+startServer, getSelfHostContext, createMockSelfHostContext
@shukoi/store-redisDistributed Redis Idempotency Store with atomic Lua scripts, wrapRedisClient() multi-driver adapter, extendLock() renewal, dual runtime (./node and ./edge), and in-memory mocks (./testing)Forbidden (Pure Web Standard)Node/Bun & Cloudflare WorkerscreateRedisIdempotencyStore, RedisIdempotencyStore, wrapRedisClient, ACQUIRE_LUA, COMPLETE_LUA, RELEASE_LUA, EXTEND_LUA, UpstashRedisClient, MockRedisClient
@shukoi/ratelimitUniversal Distributed Rate Limiter (Sliding Window & Token Bucket) with Redis Hash Lua engine, bounded LRU memory protection, IETF Draft-08 headers, and in-memory mocks (./testing)Forbidden (Pure Web Standard)All RuntimescreateRateLimiter, RateLimiter, slidingWindow, tokenBucket, SlidingWindowAlgorithm, TokenBucketAlgorithm, BoundedLruCache, MockRateLimitRedisClient
@shukoi/otelEnterprise OpenTelemetry Distributed Tracing & Prometheus Metrics plugin with OTLP 1.34+ service metadata, SpanKind, exception recording, bounded ring buffer, and in-memory mocks (./testing)Forbidden (Pure Web Standard)All RuntimescreateOpenTelemetryPlugin, Tracer, Span, MetricsRegistry, PrometheusRegistry, OtlpHttpSpanExporter, serializeToPrometheusText, MockSpanExporter
@shukoi/authEnterprise Multi-Strategy Identity (cached JWKS, O(1) pre-hashed API keys, Session Cookie, bounded OIDC) and declarative RBAC/ABAC guards with in-memory mocks (./testing)Forbidden (Pure Web Standard)All RuntimescreateCompositeAuthResolver, createJwksStrategy, createHashedApiKeyStrategy, createSessionCookieStrategy, createOidcIntrospectionStrategy, evaluateActionAuth, hasRequiredRoles, hasRequiredPermissions, MockSessionStore, MockApiKeyStore
@shukoi/dbUniversal Database and Transaction Engine with pluggable ORM adapters (Drizzle, Kysely, Prisma, D1), ANSI isolation levels, native D1 batch(), auto-rollback, and Transactional OutboxForbidden (Pure Web Standard)All RuntimescreateDrizzleAdapter, createKyselyAdapter, createPrismaAdapter, createD1Adapter, TransactionManager, TransactionalOutbox, MockDatabaseAdapter, MockOutboxStore
create-shukoiInteractive and CI project scaffolder CLIPermittedLocal CLIcreateShukoiProject

Released under the MIT License.