dolphin-server-modules
v2.14.2
Published
Core utility modules for Auth, CRUD, and Controllers
Maintainers
Readme
🐬 Dolphin Server Modules (v2.14.0)
Dolphin Server Modules is a set of practical, modular, and lightweight backend utilities for Node.js—built for real projects! No hype, just tools you can use.
📘 Official Guides (Nepal)
📦 What's Included (Practical Tools):
| Module | What it does | |--------|--------------| | Auth | User authentication with Argon2, JWT, TOTP 2FA, password reset | | CRUD | Generic CRUD operations with soft delete, ownership, and pagination | | Realtime | WebSocket pub/sub with wildcard topics, Redis scaling, and high-frequency streaming | | Camera/RTSP | IP camera frame handling with FFmpeg (default) or pure TCP (MJPEG only) | | WebRTC | Signaling orchestrator and TURN credential generator | | Push Notifications | FCM v1 (Android) and APNs (iOS) wrappers | | E2EE | Web Crypto API wrappers for ECDH key exchange and AES-GCM encryption | | API Gateway | Simple reverse proxy for HTTP and WebSocket | | RPC | Type-safe, proxy-based RPC client/server | | CLI | Dev tools for scaffolding and project management |
🚀 Quick Start
npm install dolphin-server-modulesAuth Example
import { createAuth } from 'dolphin-server-modules/auth';
import mongooseAdapter from 'dolphin-server-modules/adapters/mongoose';
const auth = createAuth({ secret: process.env.JWT_SECRET });
const user = await auth.register(mongooseAdapter, {
email: '[email protected]',
password: 'SecurePass123'
});
const { accessToken } = await auth.login(mongooseAdapter, {
email: '[email protected]',
password: 'SecurePass123'
});📄 License
ISC © 2026 Shankar Phuyal & Dolphin Team.
