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

ks-official-sahan

npm

1.21K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

12 packages

@sahan-sac/ai-core

Free-by-default AI provider chain with fallback (chain of responsibility over provider adapters: Gemini, OpenRouter, NVIDIA, OpenAI, Anthropic, DeepSeek, xAI, Perplexity, any OpenAI-compatible endpoint, Vertex), env-configurable order, hedging, cooldowns

@sahan-sac/analytics-kit

First-party, cookie-free page analytics on Upstash Redis: a Web-standard collect handler (Request => Response) with bot, Do Not Track and Global Privacy Control filtering, daily-salted anonymous visitor ids (no IP or user agent stored), one-round-trip rea

@sahan-sac/auth-kit

Framework-agnostic core for a Next.js + Auth.js admin auth system: JWT-over-DB-session auth, RBAC, emailed-OTP MFA, hidden-login unlock gate, IP allowlist, CSRF/origin checks, CSP nonces and rate limits, generic over your own role/permission catalogue.

@sahan-sac/auth-kit-client

React web and React Native (Expo) client for @sahan-sac/auth-kit's Better Auth engine: a typed auth client with auth-kit's user fields and sign-in, permission hooks, and a fetch helper that calls your API with the session.

@sahan-sac/auth-kit-expo

React Native (Expo) client for @sahan-sac/auth-kit's Better Auth engine: a typed auth client with auth-kit's user fields, permission hooks, and a fetch helper that calls your API with the stored session.

@sahan-sac/blog-kit

Headless AI blog toolkit on @sahan-sac/ai-core: full-post generation with a JSON schema and repair pass, SEO suggestions, draft and cover helpers, AI image generation through an ImageSink port, plus pure blog utilities (slugs, Markdown and HTML conversion

@sahan-sac/chat-kit

Headless chatbot core for the portfolio site: guarded prompt building, prompt-injection and output-link guards, an anonymous-visitor rate-limit cookie, a knowledge-base builder that tolerates a failing source, and runChat, the pure request/response path b

@sahan-sac/create-admin

Scaffold a new project from the admin-template (auth, RBAC, CMS, blog, media, leads, chatbot on Next.js). Run with `npm create @sahan-sac/admin@latest`.

@sahan-sac/email-kit

Transactional email for server apps: Resend and SMTP (Brevo) providers with ordered fallback, a capture provider for tests, header-injection and address guards, a typed env schema, provider health, Brevo delivery diagnostics, and one escaped HTML/text lay

@sahan-sac/media-kit

Headless media layer for Cloudinary, AWS S3 and Cloudflare R2: multi-account registry with ordered failover, upload/format validation, HMAC and SigV4 signing, delivery URL transforms, a browser upload client, and a typed CloudinaryClient. Framework-agnost

@sahan-sac/propertyfinder-kit

Property Finder (Atlas API) for server apps: typed client with token auth and retries, listing and lead transforms, webhook payload parsing, and an optional Redis cache layer that turns itself off when Redis is not configured. Framework-agnostic; persiste

supreme-git-guard

Cross-platform CLI 🔒 Zero-setup Git hook installer & license enforcement CLI for Supreme proprietary license & standard files