{"name":"@microsoft/tsdoc","version":"0.16.0","keywords":["TypeScript","documentation","doc","comments","JSDoc","parser","standard"],"license":"MIT","_id":"@microsoft/tsdoc@0.16.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"odspnpm","email":"odspnpm@microsoft.com"}],"homepage":"https://tsdoc.org/","bugs":{"url":"https://github.com/microsoft/tsdoc/issues"},"dist":{"shasum":"2249090633e04063176863a050c8f0808d2b6d2b","tarball":"http://registry-npm.ywwl.com/@microsoft/tsdoc/download/@microsoft/tsdoc-0.16.0.tgz","fileCount":362,"integrity":"sha512-xgAyonlVVS+q7Vc7qLW0UrJU7rSFcETRWsqdXZtjzRU8dF+6CkozTK4V4y1LwOX7j8r/vHphjDeMeGI4tNGeGA==","signatures":[{"sig":"MEUCICTzAhpY9XLKwU2nwOhDoFE4/cVONn6Fh6DBfWW7BWfXAiEA1OOycj1lkVKvxTYaoSveApkDik8FOc2IYRZ3wcTfVHs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2304578,"size":320455,"noattachment":false,"key":"/@microsoft/tsdoc/-/@microsoft/tsdoc-0.16.0.tgz"},"main":"lib-commonjs/index.js","_from":"file:microsoft-tsdoc-0.16.0.tgz","module":"lib/index.js","gitHead":"b6cf4d23d01bc4536985007a36eea9ba63972e01","scripts":{"build":"heft test --clean","watch":"heft test --clean --watch","_phase:test":"heft run --only test -- --clean","_phase:build":"heft run --only build -- --clean"},"typings":"lib/index.d.ts","_npmUser":{"name":"odspnpm","email":"odspnpm@microsoft.com"},"_resolved":"/tmp/1cd1c01b6989394e34d4e8607b820931/microsoft-tsdoc-0.16.0.tgz","_integrity":"sha512-xgAyonlVVS+q7Vc7qLW0UrJU7rSFcETRWsqdXZtjzRU8dF+6CkozTK4V4y1LwOX7j8r/vHphjDeMeGI4tNGeGA==","repository":{"url":"git+https://github.com/microsoft/tsdoc.git","type":"git","directory":"tsdoc"},"_npmVersion":"10.9.4","description":"A parser for the TypeScript doc comment syntax","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"eslint":"~9.25.1","@rushstack/heft":"1.1.1","tsdoc-build-rig":"1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/tsdoc_0.16.0_1762822312735_0.9531272595245355","host":"s3://npm-registry-packages-npm-production"},"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":1762822312956,"_cnpm_publish_time":1762822312956,"dist-tags":{"latest":"0.17.1"}}