Template Library
Reusable code patterns and components for rapid development
Contact Form with Validation
Complete contact form with client and server-side validation, error handling, and user feedback.
JWT Authentication Middleware
Express middleware for JWT token validation with role-based access control.
CRUD Database Model
Generic CRUD operations class for SQLite with better-sqlite3, easily adaptable to any table.
RESTful API Controller Pattern
Standard REST API controller with proper HTTP methods, error handling, and validation.
API Client Wrapper
Simplified fetch wrapper with authentication, error handling, and request/response interceptors.
Reusable Modal Component
Flexible modal dialog component with customizable content, animations, and accessibility features.
Toast Notification System
Lightweight notification system with multiple types, auto-dismiss, and animations.
Loading State Manager
Manage loading states for buttons, forms, and page sections with consistent UI feedback.
Data Table with Search & Filter
Feature-rich data table with search, sort, filter, and pagination capabilities.
Email Service with Templates
Nodemailer email service with HTML templates and fallback plain text.
LocalStorage Manager
Type-safe localStorage wrapper with JSON serialization, expiration, and error handling.
Validation Utility Functions
Collection of common validation functions for forms, APIs, and data processing.
Form State Manager
Centralized form state management with validation, dirty state tracking, and error handling.
Debounce & Throttle Utilities
Performance optimization utilities for rate-limiting function calls.
Date & Time Utilities
Common date/time formatting and manipulation functions.
Role-Based Access Control Middleware
Express middleware for RBAC with role hierarchy, permission checks, and audit logging. Maps to SOC 2 CC6.1, ISO 27001 A.8.2, HIPAA Access Controls.
Chain-Hashed Audit Logger
Tamper-evident audit log with SHA-256 hash chaining. Each entry links to the previous via cryptographic hash, satisfying SOC 2 CC7.2, ISO 27001 A.8.15, and HIPAA audit requirements.
AES-256-GCM Field Encryption Service
Encrypt sensitive database fields at rest using AES-256-GCM with per-field IV and auth tags. Maps to GDPR Art. 32, HIPAA ยง164.312(a)(2)(iv), PCI DSS Req 3.
PII Data Masking Utility
Mask or redact personally identifiable information in logs, exports, and displays. Supports SSN, email, phone, credit card, and custom patterns. Maps to GDPR Art. 25, HIPAA Safe Harbor.
Breach Notification Workflow Engine
Multi-framework breach notification engine with deadline tracking for GDPR (72h), HIPAA (60d), DORA (4h), and NIS 2 (24h). Classifies severity, routes to authorities, and generates timelines.
Multi-Factor Authentication Middleware
TOTP (RFC 6238) and WebAuthn/FIDO2 MFA middleware with recovery codes, rate-limiting lockout (PCI DSS 8.3.4), and 8-hour session window. Drop-in Express middleware for protecting admin routes.
Configurable Session Timeout Manager
Framework-compliant session timeout middleware with idle + absolute timeouts, configurable profiles (standard/sensitive/critical), grace-period warnings, and audit-logged auto-logout.
HIPAA Minimum Necessary PHI Filter
Role-based PHI field filtering implementing HIPAA ยง164.502(b) Minimum Necessary Standard. Defines the 18 Safe Harbor identifiers, provides per-role access profiles, and logs every PHI access for audit compliance.
GDPR Granular Consent Manager
Per-purpose consent tracking implementing GDPR Articles 6, 7, 13, 17, 20, and 21. Tracks consent versions, withdrawal history, legal basis, and generates Kantara-specification consent receipts for audit evidence.
PCI DSS Card Data Sanitizer
PCI DSS 4.0.1 compliant PAN detection, masking (first-6/last-4), truncation, and tokenization. Detects 7 card brands via Luhn validation, scrubs PANs from free-text fields, and ensures card data never reaches logs.
Sustainable Balanced Scorecard (SBSC)
Strategic matrix integrating Financial, Customer, Internal Process, and Learning & Growth perspectives with sustainability KPIs, AI automation vectors, and servant leadership practices.
Circular Supply Chain Workflow
Six-phase circular economy workflow: Regenerative Sourcing โ Circular Design โ GreenOps Manufacturing โ PaaS Distribution โ Reverse Logistics โ Remanufacturing.
Triple Bottom Line (TBL) P&L
Profit-People-Planet integrated P&L with baseline vs projected metrics, AI-driven financial modeling, and servant leadership valuation rationale.
Purpose-Driven Marketing Audit
Five-phase audit framework: Purpose Alignment, Impact Verification, Inclusive Storytelling, Ethical Personalization, and Continuous Sentiment Analysis.
Servant Leadership 1-on-1 & Review
Structured 1-on-1 coaching agenda (5 segments) plus a 5-competency performance evaluation rubric scoring empowerment, psychological safety, growth, inclusion, and ethics.
Sustainable SDLC & GreenOps
Five-phase software development lifecycle embedding energy-efficient coding, Agentic Engineering, and environmental performance metrics alongside traditional quality gates.
AI Governance & ESG Compliance (NIST AI RMF)
Operationalizes the four NIST AI RMF functions (Govern, Map, Measure, Manage) with AI agent enablement, servant leadership accountability, and OSCAL documentation integration.
Password Hashing with Argon2/bcrypt
Secure password hashing with configurable rounds, timing-safe comparison, and migration support between algorithms.
OAuth 2.0 Authorization Flow
Complete OAuth 2.0 implementation with PKCE, token refresh, and provider abstraction for Google, GitHub, and Microsoft.
Secure Session Management
Server-side session management with Redis store, CSRF protection, and configurable expiration policies.
Database Migration Runner
Automated database migration system with versioned SQL scripts, rollback support, and migration history tracking.
Fluent Query Builder
Chainable SQL query builder with parameterized queries, joins, subqueries, and protection against SQL injection.
Database Connection Pool
Production-ready connection pooling with health checks, automatic reconnection, and query timeout handling.
Drag & Drop File Upload
File upload component with drag-and-drop, progress tracking, file type validation, and chunked upload support.
Multi-Step Form Wizard
Step-by-step form wizard with progress indicator, validation per step, data persistence, and review before submit.
API Rate Limiter
Token bucket rate limiting middleware with sliding window, per-user limits, and Redis-backed distributed state.
Webhook Handler & Dispatcher
Incoming webhook processor with signature verification, retry queue, idempotency keys, and event routing.
Accessibility Audit Component
Client-side accessibility checker that validates color contrast, ARIA labels, focus order, and heading hierarchy.
Responsive Grid System
CSS Grid layout system with breakpoint utilities, auto-fit columns, and semantic HTML structure.