Skip to main content

Web Scan

The Web Scan feature analyzes your entire tech stack by reading your package.json file. Upload or paste your dependencies and get instant compatibility insights across all technology combinations.

Overview

The scan detects potential issues before you deploy, saving hours of debugging time. It checks for:
  • Runtime conflicts (Edge Runtime incompatibility)
  • Database-hosting mismatches
  • Framework integration issues
  • Deprecated package warnings
  • Configuration requirements

Access

Navigate to /scan or click Scan in the navigation.

How It Works

1. Upload Your package.json

You have two options:

Option A: File Upload

  1. Click Upload package.json
  2. Select your package.json file (max 100KB)
  3. The scanner automatically extracts dependencies

Option B: Paste Content

  1. Open your package.json file
  2. Copy the entire content
  3. Paste into the text area
  4. Click Analyze

2. Technology Detection

The scanner identifies technologies by parsing your dependencies:

3. Compatibility Analysis

The scanner checks all detected technology pairs against DevRadar’s compatibility database:

4. Results Display

Compatibility Score

Issues List

Issues are grouped by severity: Each issue shows:
  • Technology pair (e.g., Next.js + Prisma)
  • Detailed explanation
  • Workaround solutions (when available)
  • Link to full compatibility check
  • Badge for your README

Suggestions

Actionable recommendations based on your stack:

Common Issues Detected

Edge Runtime Incompatibility

Issue: Databases like Prisma don’t work in Edge Runtime. Detected with:
  • Next.js + Prisma on Vercel
  • Next.js + MongoDB on Edge functions
  • Any ORMs requiring Node.js runtime
Suggestion:

Database Hosting Conflicts

Issue: Traditional databases don’t work on serverless platforms. Examples:
  • PostgreSQL + Vercel (without external service)
  • MongoDB + Netlify Functions
Suggestion:

Framework Integration Problems

Issue: Certain packages don’t integrate well together. Examples:
  • MUI + Next.js App Router (requires specific configuration)
  • Next-Auth + Next.js Edge Runtime
  • Tailwind + Certain UI libraries

Understanding Your Results

Issue Cards

Each expandable card shows:

Package Browser

Complete list of detected packages:
  • Searchable by name
  • Grouped by scope (e.g., @radix-ui/*)
  • Categorized by dependency type

Shareable Badges

Add compatibility badges to your README:

API Integration

For automated scanning, use the Scan API:
Response:

Rate Limits

  • Limit: 10 scans per minute per IP
  • Headers: X-RateLimit-Remaining, X-RateLimit-Reset

Best Practices

1. Scan Before Deploying

Run the scan when:
  • Starting a new project
  • Adding major dependencies
  • Preparing for production deployment
  • Changing hosting platforms

2. Review All Warnings

Even warnings can cause issues:
  • Edge Runtime warnings → deployment failures
  • Database conflicts → runtime errors
  • Framework issues → poor performance

3. Check Suggestions First

Suggestions often provide the easiest fix:
  • Alternative technologies may be drop-in replacements
  • Configuration changes take minutes
  • Upgrades may resolve multiple issues

4. Keep package.json Clean

  • Remove unused dependencies
  • Use exact versions when possible
  • Avoid multiple packages for the same purpose
  • Regular dependency audits

What’s Next


Scan your stack: devradar.dev/scan