Launched January 6, 2026
Itdoc

Itdoc

Generate API docs from test code in NodeJS

FreeAPIOpen SourceDocs258 impressions#1466 of its week

Generates RESTful API documentation for JavaScript projects by extracting request and response examples directly from passing tests. Ensures up-to-date, verified docs by combining test results with developer-written descriptions.

Itdoc generates RESTful API documentation for JavaScript/TypeScript projects by extracting request-response examples from passing tests.

for
JavaScript and TypeScript developers who write API tests.
pricing
free
license
Apache-2.0
do-pa/itdoc 129 3TypeScriptupdated a year ago
works withJavaScriptTypeScript

Key features

6 features of Itdoc
  • Test-based doc generation — Creates API docs directly from passing test code.
  • Request/response extraction — Pulls example requests and responses from test assertions.
  • Auto-sync docs — Keeps documentation up-to-date as tests change.
  • Developer notes integration — Combines extracted examples with developer-written descriptions.
  • JS/TS support — Works with JavaScript and TypeScript projects.
  • Node.js friendly — Designed for Node.js test environments.

Use cases

  • Generate API docs automatically when writing new tests.
  • Maintain accurate docs without manual updates.
  • Document existing APIs by running current test suites.
  • Provide up-to-date reference for onboarding developers.

Itdoc vs alternatives

ItdocPostmanMintlifyDocusaurusGitBook
Best forTest-driven API documentationFull-stack API design & testingDeveloper docs siteStatic documentation sitesTeam knowledge bases
PricingFreeSubscriptionSubscriptionFreeSubscription
DevHunt upvotes00000
LaunchedJan 2026————
  • Itdoc vs Postman: Postman focuses on designing, testing and documenting APIs manually, not auto-generating from tests.
  • Itdoc vs Mintlify: Mintlify provides a documentation platform but requires separate authoring, not test-driven generation.
  • Itdoc vs Docusaurus: Docusaurus is a static site generator for docs, without automatic extraction from test code.
  • Itdoc vs GitBook: GitBook offers collaborative docs creation, not linked to test execution.

Itdoc FAQ

How does Itdoc create documentation?+

It runs your passing tests, extracts request and response examples, and merges them with any descriptions you add.

Do I need a specific testing framework?+

Itdoc works with any JavaScript/TypeScript test setup that can be executed in Node.js.

Can I generate docs for an existing test suite?+

Yes, Itdoc can process existing passing tests to produce documentation.

Is the tool open source?+

The provided information does not specify a license; pricing is listed as free.

Does Itdoc support GraphQL APIs?+

The description mentions RESTful API documentation; GraphQL support is not indicated.

Summarized by DevHunt from itdoc.kr · Oct 6, 2026. Details may change; check the official site.