shieldreq
v1.0.0
Published
مكتبة ذكية لإدارة طلبات HTTP مع أنظمة حماية متطورة وقاطع دائرة وتدوير تلقائي للرموز.
Maintainers
Readme
ShieldReq 🛡️ The Intelligent HTTP Request Management Library for Modern Web Applications. ShieldReq is a robust, lightweight, and highly configurable JavaScript library designed to orchestrate, secure, and optimize your API communications. It sits between your application and the network, providing an advanced layer of control that standard fetch/axios implementations lack. 👤 Author Mohamed Ashraf Facebook: View Profile 🚀 Key Features ⚡ Intelligent Policy Engine: Predefined strategies like critical, realtime, and offline-first to manage request behavior. 🛡️ Advanced Security: Built-in header hardening, automated token rotation, and replay attack protection using nonces. 🧠 Behavioral Monitoring: Detects suspicious request patterns and anomalies (like rapid-fire requests) in real-time. 🔄 Resilience Patterns: Native support for Circuit Breakers, Exponential Backoff retries, and Failover endpoints. 📦 Smart Orchestration: Features request deduplication, priority-based queuing, and intelligent batching. 💾 Sophisticated Caching: Advanced TTL management with stale-while-revalidate support. 💻 Quick Start const guard = new ShieldReq(); const data = await guard.request('https://api.example.com/data', { policy: 'secure' });
