tekir

Packages

46 packages across 9 categories. Pick what you need, ignore the rest. Versions move together so your lockfile stays calm.

Core

2 packages

The only required package. Everything else is optional.

Router, kernel, DI container, lazy-resolved singletons, and server bootstrap via tekir().

$bun add @tekir/core

Cross-runtime abstraction layer. File ops, SQLite, server, hashing. Works on Bun and Node.js.

$bun add @tekir/runtime

Utilities

9 packages

Optional packages for config, env, logging, views, CLI, and internationalization.

CLI framework with args, flags, prompts, and terminal UI.

$bun add @tekir/commands

Typed config store with dot-notation access and auto-loading.

$bun add @tekir/config

Typed environment variable validation.

$bun add @tekir/env

Internationalization with JSON locale files, interpolation, and pluralization.

$bun add @tekir/i18n

Structured logger with configurable levels, pretty-print, and field redaction.

$bun add @tekir/logger

Datadog transport for @tekir/logger.

$bun add @tekir/logger-datadog

Grafana Loki transport for @tekir/logger.

$bun add @tekir/logger-loki

Pino bridge for @tekir/logger.

$bun add @tekir/logger-pino

Engine-agnostic SSR: Eta, EJS, Handlebars, Pug, React.

$bun add @tekir/view

Database

5 packages

Talk to SQL databases, MongoDB, and Redis with the same vocabulary. Models, queries, migrations, and sessions all speak to each other.

@tekir/db
v0.1.4

ActiveRecord ORM with fluent query builder, migrations, relationships, and hooks.

$bun add @tekir/db

MongoDB via Mongoose with CRUD, soft deletes, pagination, and aggregation.

$bun add @tekir/mongodb

Redis client with pub/sub, pipeline, and multi-connection support.

$bun add @tekir/redis

Multi-driver cache: memory, Redis, and database stores, plus an HTTP response cache middleware.

$bun add @tekir/cache

Session management with signed cookies, flash messages, and pluggable stores.

$bun add @tekir/session

Security

9 packages

Auth, hashing, CSRF, rate limiting, and CORS, wired up so you don't have to Google five different libraries on day one.

Guard-based authentication with JWT, session, database tokens, and basic auth.

$bun add @tekir/auth

Policy-based authorization with abilities and policies.

$bun add @tekir/authorize

Password hashing with bcrypt, argon2, and scrypt drivers.

$bun add @tekir/hash

AES-256-GCM encryption and decryption via Web Crypto API.

$bun add @tekir/encryption

Configurable CORS middleware with per-origin callbacks.

$bun add @tekir/cors

CSRF protection, Content Security Policy, and security headers.

$bun add @tekir/shield

Rate limiting with memory and Redis stores.

$bun add @tekir/limiter

Request validation middleware with Zod integration.

$bun add @tekir/validator

OAuth social authentication with Google, GitHub, Apple, Discord, Facebook.

$bun add @tekir/social

Communication

5 packages

Send mail, schedule cron jobs, dispatch events, and push notifications from one consistent API.

Email with SMTP, Sevk, Resend, Mailgun, and SES transports.

$bun add @tekir/mail

Background job queues with memory, Redis, and SQLite backends.

$bun add @tekir/queue

Multi-channel notifications: mail, database, and push.

$bun add @tekir/notification

Typed event emitter with wildcard listeners and async dispatch.

$bun add @tekir/emitter

Cron scheduler with named jobs, pause/resume, and overlap safety.

$bun add @tekir/cron

Storage & Parsing

3 packages

Read and write files, serve static assets, or stream uploads straight to S3. Same interface, swap the driver in config.

Unified file storage with local, S3, R2, and GCS drivers.

$bun add @tekir/drive

Static file serving with ETags, MIME detection, and Cache-Control.

$bun add @tekir/static

Body parsing: JSON, form, multipart, raw. File uploads with validation.

$bun add @tekir/bodyparser

Decorators

6 packages

Optional decorator packages. Everything works without them, but they add expressive syntax.

Generic decorator creation toolkit.

$bun add @tekir/decorators

@Controller, @Get, @Post, @Put, @Delete, @Middleware, @Cache.

$bun add @tekir/http-decorators

@hidden, @cast, @HasMany, @BelongsTo, @BeforeSave.

$bun add @tekir/db-decorators

Cron job decorators for scheduling methods.

$bun add @tekir/cron-decorators

Event listener decorators.

$bun add @tekir/event-decorators

@ApiOperation, @ApiResponse, @ApiTag.

$bun add @tekir/swagger-decorators

Dev Tools

5 packages

The `tekir` command-line tool, project scaffolding, HTTP test clients, Swagger generation, and health checks. Things you always end up needing.

tekir command-line tool: serve, build, test, and any provider-registered command.

$bun add -g @tekir/cli

Project scaffolding CLI with templates.

$bunx create-tekir-app my-app

HTTP test client, fluent assertions, and model factories.

$bun add -d @tekir/testing

OpenAPI 3.0 spec builder and Swagger UI.

$bun add @tekir/swagger

Health check endpoints with caching.

$bun add @tekir/health

Frontend

2 packages

Point tekir at a Vite or Next.js project and they share a port. No proxy config, no two dev servers.

Vite integration for React, Vue, and Svelte with HMR.

$bun add @tekir/vite

Next.js SSR integration with API passthrough.

$bun add @tekir/next