Skip to main content
Home

Built and signed on GitHub Actions

Generate README.md from jsdoc @module. It uses `deno doc --json` to get the needed informations.

This package works with Deno
This package works with Deno
JSR Score
100%
Published
8 months ago (2.0.0)

Doc Gen

Generate README.md from jsdoc @module

It uses deno doc --json to get the needed informations

Usage

By default its outputs to stdout

deno run -A jsr:@sigmasd/doc-gen entrypoint.ts

If you want to create/update README.md you can use shell redirection

deno run -A jsr:@sigmasd/doc-gen entrypoint.ts > README.md

Or add a convenience task in deno.json

"tasks": {
  "doc": "deno run -A jsr:@sigmasd/doc-gen ./entrypoint.ts > README.md && deno fmt README.md"
}
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@sigmasd/doc-gen

Import symbol

import * as doc_gen from "@sigmasd/doc-gen";
or

Import directly with a jsr specifier

import * as doc_gen from "jsr:@sigmasd/doc-gen";