0.15.0 • Published 6 months ago

@microsoft/tsdoc v0.15.0

Weekly downloads
169,649
License
MIT
Repository
github
Last release
6 months ago

@microsoft/tsdoc

This library is the reference implementation of a parser for the TSDoc syntax. Using this library is an easy way to ensure that your tool is 100% compatible with the standard.

What is TSDoc?

TSDoc is a proposal to standardize the doc comments used in TypeScript source files. It allows different tools to extract content from comments without getting confused by each other's syntax. The TSDoc notation looks pretty familiar:

export class Statistics {
  /**
   * Returns the average of two numbers.
   *
   * @remarks
   * This method is part of the {@link core-library#Statistics | Statistics subsystem}.
   *
   * @param x - The first input number
   * @param y - The second input number
   * @returns The arithmetic mean of `x` and `y`
   *
   * @beta
   */
  public static getAverage(x: number, y: number): number {
    return (x + y) / 2.0;
  }
}

Give it a try!

Check out the TSDoc Playground for a cool live demo of our parser!

API Usage

The api-demo folder on GitHub illustrates how to invoke the TSDoc parser.

A separate NPM package @microsoft/tsdoc-config is used for loading the tsdoc.json file.

Get involved

The TSDoc project is actively evolving. Please visit the website for the latest documentation, instructions for building/debugging the projects, and other resources:

https://tsdoc.org/

@tsdoc-tagged-test/core@tsdoc-tagged-test/jest-reportertypeblox@everything-registry/sub-chunk-602remark-typescript-toolsremark-typescript-tools-prettier-ignoreremnote-custom-api-documenterrfp-librocket-builderstandard-markdown-documentertextlint-plugin-tsdocvite-vanilla-ts-modulevehicle-widgetlargest-packagejest-pythonmaiteahandlinkhrome-paykiteconnectkiteconnect-ts-clientkiteconnect-ts-testocsjsmy-docnanoscale-financenest-redisclientreact-api-documenterreact-tsdocsimple-tsdocsf-docs-basets-doc-webpack-loaderts-documenter@atmx-org/common@atmx-org/registry-tools@alduino/pkg-lib@algorandfoundation/tealscript@aliwind/api-documenter@alm1983/nestjs-swagger@alicloud/console-components-lib-api-documenter@carter-rmn/node-sdk@cc-livekit/api-documenter@cirrusct/ts-reflector@0x0c/nestjs-swagger@bootcamp-project/typescript-config@danchenkov/api-documenterynov-dev-dep-frontxy-manual-toolstsdoc-link-checktsdoc-testifytsdoc-to-markdowntsdoc.jsonts-module-docs@firebase/api-documenter@greguintow/nestjs-swagger@fluidframework/eslint-config-fluid@fp-tx/documenter@hsuite/nestjs-swagger@icecat-studio/nestjs-swagger@fluentui/api-docs@fluid-internal/eslint-plugin-fluid@fluid-tools/api-markdown-documenter@googleapis/api-documenter@grafana/api-documenter@grafana/api-extractor@infinitebrahmanuniverse/nolb-_micros@koolie/tooling@lsge/swagger@lukasbach/scripts@m4l/config@microsoft/api-extractor@microsoft/api-extractor-model@microsoft/api-documenter@mscharley/api-documenter-hugo@n0isy/nest-js-swagger@nestjs/swagger@entwurfhaus/vite-vanilla-ts-module@evoke-platform/plugin-scripts@dylanvann/api-extractor@easyops-cn/api-documenter@elfsquad/tsdoc-parser@microsoft/tsdoc-config@mitech/onit-cli@mattetti/custom-api-documenter@matter/tools@monoid-dev/split-pages@iviva/react-tsdoc@janghood/api-extractor@josselinbuils/api-documenter@jsdocs-io/extractor@imaginary-dev/typescript-transformer@imaginary-dev/util@jfkz/swagger@jetsam/tooling@rafiqueacudjoe/rx-test@qodly/cli@sanity/tsdoc@sanity/tsdoc-to-portable-text@playcanvas/attribute-parser@o3r/extractors@sosuisen/api-documenter@shopify/docs-tools
0.15.0

6 months ago

0.14.2

2 years ago

0.14.0

3 years ago

0.14.1

3 years ago

0.13.1

4 years ago

0.13.2

4 years ago

0.13.0

4 years ago

0.12.24

4 years ago

0.12.23

4 years ago

0.12.22

4 years ago

0.12.21

4 years ago

0.12.20

4 years ago

0.12.19

5 years ago

0.12.17

5 years ago

0.12.18

5 years ago

0.12.16

5 years ago

0.12.15

5 years ago

0.12.14

5 years ago

0.12.13

5 years ago

0.12.12

5 years ago

0.12.11

5 years ago

0.12.10

5 years ago

0.12.9

6 years ago

0.12.8

6 years ago

0.12.7

6 years ago

0.12.6

6 years ago

0.12.5

6 years ago

0.12.4

6 years ago

0.12.3

6 years ago

0.12.2

6 years ago

0.12.1

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.3

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago

0.8.1

6 years ago

0.8.0

6 years ago

0.7.0

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.0

6 years ago