API docs parity: Node.js / TypeScript
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- node.js, typescript
- Domain
- documentation
Research direction
Start by reading parent epic #1653 and the issue's discussion of TSDoc, TypeDoc, tsdocs.dev, GitHub Pages, and published .d.ts files. The issue names no repository files, tests, or implementation entry point; the work is complete only when the project’s API documentation approach and deliverable are clearly decided.
Written by the indexing model from the issue text.
Description
Node.js / TypeScript API Docs
Parent epic: #1653
Doc format: TSDoc / TypeDoc comments (/** ... */ with @param, @returns, etc.). TypeDoc generates HTML from these.
Culture: Weaker than Java. npm does not require a docs artifact to publish. Many packages ship only a README + inline types (the .d.ts files are the docs for many TS consumers via IDE hover). Publishing standalone API docs is opt-in.
Hosting analogues:
| Service | How it works |
|---|---|
| typedoc.org | Generator, not host |
| tsdocs.dev | Closest to javadoc.io — auto-generates docs from any npm package's types on demand |
| GitHub Pages / custom | Many projects self-host (e.g. docs/ folder or CI-published site) |
Key difference from Java: No registry-mandated doc artifact. tsdocs.dev synthesizes docs from published .d.ts type declarations rather than a pre-built doc jar.
Additional research: tsdocs.dev fragility
As of 2026-06-13, tsdocs.dev returns 502 Bad Gateway across the board — both the homepage and package-specific URLs (e.g. https://tsdocs.dev/docs/@github/copilot-sdk). The service is completely down, not just a homepage glitch.
This reinforces the fragility of the TypeScript ecosystem's doc hosting: tsdocs.dev is a volunteer-run third-party project, not backed by npm or Microsoft. It has had reliability issues before. There is no npm Inc. or TypeScript team commitment keeping it running — unlike docs.rs (Rust team) or pkg.go.dev (Go team), which are first-party infrastructure with SLAs.
In practice, for the @github/copilot-sdk npm package, the realistic API-docs options are:
- Self-host TypeDoc output (e.g., GitHub Pages from CI) — most reliable
- Rely on
.d.tshover docs in IDEs — what most TS consumers actually use day-to-day - tsdocs.dev — when it's up, which apparently is not guaranteed
As a Java Champion perspective: Java's Maven Central mandate for javadoc jars means API docs are a first-class, always-available artifact. This is particularly important in an era where AI is writing code — maintainability depends on discoverable, reliably-hosted documentation. The TypeScript ecosystem lacks this guarantee, making self-hosted docs a necessity rather than optional.
- Dominant language
- Java
- Stars
- 10.5k
- Forks
- 1.5k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 130
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/copilot-sdk
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/copilot-sdk#2760 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/copilot-sdk#2759 ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
github/copilot-sdk#2758 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/copilot-sdk#2709 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
github/copilot-sdk#2673 ·
All issues in github/copilot-sdk
Similar issues
-
certification
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Openbug ecr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Needs: Triage Type: Feature request
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AntennaPod/AntennaPod#8794 ·
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100