Socket
Book a DemoInstallSign in
Socket

docflow

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docflow

English | [한국어](https://github.com/toss/docflow/blob/main/README-ko_kr.md)

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
20
Maintainers
1
Weekly downloads
 
Created
Source

Docflow · MIT License NPM badge

English | 한국어

Docflow is a TypeScript-first documentation generator that automatically creates API documentation from JSDoc comments.

  • Docflow automatically generates comprehensive documentation from JSDoc comments, supporting essential tags like @public, @category, and @example.
  • Designed with AI integration in mind, Docflow can generate complete JSDoc comments for your functions with a single @generate tag.
  • Docflow provides accurate TypeScript type extraction, ensuring your documentation always matches your actual code signatures.
  • Docflow includes a powerful plugin system, allowing you to generate documentation for VitePress, Docusaurus, Nextra, and more.

Examples

import { createCalculator } from "@toss/utils";

/**
 * @public
 * @category Math
 * Creates a calculator instance with the given initial value
 * @param initialValue - The starting value for calculations
 * @returns A calculator object with calculation methods
 * @example
 * const calc = createCalculator(10);
 * calc.add(5).multiply(2).getValue(); // 30
 */
export function createCalculator(initialValue: number) {
  return {
    add: (n: number) => createCalculator(initialValue + n),
    multiply: (n: number) => createCalculator(initialValue * n),
    getValue: () => initialValue,
  };
}

With just docflow build, this becomes a beautiful documentation page with examples, type information, and more.

Contributing

We welcome contribution from everyone in the community. Read below for detailed contribution guide.

CONTRIBUTING

License

MIT © Toss. See LICENSE for details.

Toss

FAQs

Package last updated on 24 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.