next-dynamic-rendering
v1.0.7
Published
[](https://www.npmjs.com/package/next-dynamic-rendering) [](https://opensource.org/licenses/MIT)
Readme
next-dynamic-rendering
Next.js middleware for dynamic rendering that serves different content to users and bots based on User-Agent detection.
Features
- 🚀 Automatic bot detection with built-in patterns
- 🔄 Route bots/users to different directories
- ⚙️ Customizable bot list and detection logic
- 🔍 Manual user-agent override for testing
- 📊 Detection hook for analytics integration
- 💡 Zero-config setup with smart defaults
Installation
npm install next-dynamic-rendering
# or
yarn add next-dynamic-rendering