{"id":21831368,"url":"https://github.com/nodef/extra-jsdoc-text","last_synced_at":"2026-02-19T11:33:30.172Z","repository":{"id":50604439,"uuid":"477219250","full_name":"nodef/extra-jsdoc-text","owner":"nodef","description":"Utilities for processing JSDoc text.","archived":false,"fork":false,"pushed_at":"2025-04-08T17:19:04.000Z","size":157,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T19:45:49.514Z","etag":null,"topics":["extra","jsdoc","param-tag","parse","returns-tag","stringify","text"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/extra-jsdoc-text","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-03T02:29:45.000Z","updated_at":"2025-04-08T17:19:05.000Z","dependencies_parsed_at":"2025-04-12T01:57:04.158Z","dependency_job_id":"2fb5444e-4f8f-4fe9-8954-6dd76227969b","html_url":"https://github.com/nodef/extra-jsdoc-text","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"502ae066e1af46d55444dba4318135c7b802f478"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nodef/extra-jsdoc-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-jsdoc-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-jsdoc-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-jsdoc-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-jsdoc-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodef","download_url":"https://codeload.github.com/nodef/extra-jsdoc-text/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-jsdoc-text/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29611138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extra","jsdoc","param-tag","parse","returns-tag","stringify","text"],"created_at":"2024-11-27T19:10:01.875Z","updated_at":"2026-02-19T11:33:30.137Z","avatar_url":"https://github.com/nodef.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Utilities for processing JSDoc text.\u003cbr\u003e\n📦 [Node.js](https://www.npmjs.com/package/extra-jsdoc-text),\n🌐 [Web](https://www.npmjs.com/package/extra-jsdoc-text.web),\n📜 [Files](https://unpkg.com/extra-jsdoc-text/),\n📰 [Docs](https://nodef.github.io/extra-jsdoc-text/).\n\nThis package is available in *Node.js* and *Web* formats. To use it on the web,\nsimply use the `extra_jsdoc_text` global variable after loading with a `\u003cscript\u003e`\ntag from the [jsDelivr CDN].\n\n\u003e Stability: [Experimental](https://www.youtube.com/watch?v=L1j93RnIxEo).\n\n[jsDelivr CDN]: https://cdn.jsdelivr.net/npm/extra-jsdoc-text.web/index.js\n\n\u003cbr\u003e\n\n```javascript\nconst xjsdoc = require('extra-jsdoc-text');\n\nfunction main() {\n  var txt = `\n/**\n * Parse jsdoc from jsdoc text.\n * @param txt jsdoc text\n * @returns parsed jsdoc\n */\n  `, parse = null;\n\n  parse = xjsdoc.parse(txt);\n  // {\n  //   full: '\\n' +\n  //     '/**\\n' +\n  //     ' * Parse jsdoc from jsdoc text.\\n' +\n  //     ' * @param txt jsdoc text\\n' +\n  //     ' * @returns parsed jsdoc\\n' +\n  //     ' */\\n' +\n  //     '  ',\n  //   description: 'Parse jsdoc from jsdoc text.\\n',\n  //   params: [\n  //     {\n  //       full: '@param txt jsdoc text',\n  //       name: 'txt',\n  //       type: '',\n  //       description: 'jsdoc text'\n  //     }\n  //   ],\n  //   returns: {\n  //     full: '@returns parsed jsdoc',\n  //     type: '',\n  //     description: 'parsed jsdoc'\n  //   },\n  //   examples: []\n  // }\n\n  parse.description += ' (only if simple)';\n  xjsdoc.stringify(parse);\n  // '/**\\n' +\n  //   ' * Parse jsdoc from jsdoc text.\\n' +\n  //   ' * (only if simple)\\n' +\n  //   ' * @param txt jsdoc text\\n' +\n  //   ' * @returns parsed jsdoc\\n' +\n  //   ' *  */\\n'\n}\nmain();\n```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Index\n\n| Property | Description |\n|  ----  |  ----  |\n| [parse] | Parse jsdoc from jsdoc text. |\n| [stringify] | Stringify jsdoc text from parsed jsdoc. |\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n[![](https://img.youtube.com/vi/dEGrVjb2dB4/maxresdefault.jpg)](https://www.youtube.com/watch?v=dEGrVjb2dB4)\u003cbr\u003e\n[![ORG](https://img.shields.io/badge/org-nodef-green?logo=Org)](https://nodef.github.io)\n[![DOI](https://zenodo.org/badge/477219250.svg)](https://zenodo.org/badge/latestdoi/477219250)\n![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/nodef/extra-jsdoc-text)\n\n[parse]: https://nodef.github.io/extra-jsdoc-text/modules.html#parse\n[stringify]: https://nodef.github.io/extra-jsdoc-text/modules.html#stringify\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-jsdoc-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodef%2Fextra-jsdoc-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-jsdoc-text/lists"}