arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

Feature request: multiple JS runtime check

Open
#217 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Add import check for more exports conditions like `edge-light`, `workerd`, `browser`, `worker`, `node`, `bun`, `deno`...

It's a common issue that a module might not comptable with some js platform because of lack of runtime only API (like file system, child-process)

You can see all export keys here: https://runtime-keys.proposal.wintercg.org/

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by locating the existing import or export-condition checks, then review the runtime keys listed in the WinterCG proposal. Done means the analyzer checks the requested runtime conditions and reports incompatibilities caused by unavailable runtime APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, deno, javascript, node.js, typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.