Skip to content

feat: runtime compatibility badges per package #2653

@2u841r

Description

@2u841r

Describe the feature

Show runtime compatibility badges on package pages so developers know — before adding a package — whether it works on non-Node runtimes.

Uses runtime-compat-data (unjs) as the data source.

Runtimes: node · workerd · deno · bun · edge-light · netlify · llrt · fastly

Approach:

  1. Scan package entry points for Node built-in imports + global API usage
  2. Cross-ref against runtime-compat-data
  3. Also check exports for runtime-specific conditions (workerd, worker, etc.)

References:

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions