{"name":"@microsoft/tsdoc","version":"0.15.1","description":"A parser for the TypeScript doc comment syntax","keywords":["TypeScript","documentation","doc","comments","JSDoc","parser","standard"],"repository":{"type":"git","url":"git+https://github.com/microsoft/tsdoc.git","directory":"tsdoc"},"homepage":"https://tsdoc.org/","main":"lib-commonjs/index.js","module":"lib/index.js","typings":"lib/index.d.ts","license":"MIT","devDependencies":{"@rushstack/heft-web-rig":"~0.24.11","@rushstack/heft":"^0.66.13","@types/heft-jest":"1.0.3","eslint":"~8.57.0","eslint-plugin-header":"~3.1.1"},"scripts":{"build":"heft test --clean","watch":"heft test --clean --watch","_phase:build":"heft run --only build -- --clean","_phase:test":"heft run --only test -- --clean"},"_id":"@microsoft/tsdoc@0.15.1","gitHead":"03554206c58a127e845e978d194199b2277090d0","bugs":{"url":"https://github.com/microsoft/tsdoc/issues"},"_integrity":"sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==","_resolved":"/tmp/f0ea4b57743ab72e02708991fe88f1a6/microsoft-tsdoc-0.15.1.tgz","_from":"file:microsoft-tsdoc-0.15.1.tgz","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==","shasum":"d4f6937353bc4568292654efb0a0e0532adbcba2","tarball":"http://registry-npm.ywwl.com/@microsoft/tsdoc/download/@microsoft/tsdoc-0.15.1.tgz","fileCount":443,"unpackedSize":2713839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYQcOtDPrarua/IIuPJqfA2d7ixBtlUR+at7hlwTMexAiEA3l36KS5ZS4p/uYAZqDO/9nxX5drkf9oHDDTel+YgW4w="}],"size":362777,"noattachment":false,"key":"/@microsoft/tsdoc/-/@microsoft/tsdoc-0.15.1.tgz"},"_npmUser":{"name":"odspnpm","email":"odspnpm@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsdoc_0.15.1_1732321427400_0.5158417862802154"},"_hasShrinkwrap":false,"readme":"# @microsoft/tsdoc\r\n\r\n<div>\r\n  <br />\r\n  <a href=\"https://tsdoc.org/\">\r\n    <img width=\"200\" src=\"https://tsdoc.org/images/site/tsdoc.svg\">\r\n  </a>\r\n  <p />\r\n</div>\r\n\r\nThis 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.\r\n\r\n\r\n##  What is TSDoc?\r\n\r\n**TSDoc** is a proposal to standardize the doc comments used in [TypeScript](http://www.typescriptlang.org/) 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:\r\n\r\n```typescript\r\nexport class Statistics {\r\n  /**\r\n   * Returns the average of two numbers.\r\n   *\r\n   * @remarks\r\n   * This method is part of the {@link core-library#Statistics | Statistics subsystem}.\r\n   *\r\n   * @param x - The first input number\r\n   * @param y - The second input number\r\n   * @returns The arithmetic mean of `x` and `y`\r\n   *\r\n   * @beta\r\n   */\r\n  public static getAverage(x: number, y: number): number {\r\n    return (x + y) / 2.0;\r\n  }\r\n}\r\n```\r\n\r\n## Give it a try!\r\n\r\nCheck out the [TSDoc Playground](https://tsdoc.org/play) for a cool live demo of our parser!\r\n\r\n\r\n## API Usage\r\n\r\nThe [api-demo](https://github.com/microsoft/tsdoc/tree/main/api-demo) folder on GitHub illustrates how\r\nto invoke the TSDoc parser.\r\n\r\nA separate NPM package [`@microsoft/tsdoc-config`](https://www.npmjs.com/package/@microsoft/tsdoc-config)\r\nis used for loading the **tsdoc.json** file.\r\n\r\n\r\n## Get involved\r\n\r\nThe **TSDoc** project is actively evolving.  Please visit the website for the latest documentation, instructions for building/debugging the projects, and other resources:\r\n\r\nhttps://tsdoc.org/\r\n","publish_time":1732321427670,"maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"odspnpm","email":"odspnpm@microsoft.com"}],"_cnpm_publish_time":1732321427670,"dist-tags":{"latest":"0.17.1"}}