{"id":17924421,"url":"https://github.com/zebp/wasm_deno_doc","last_synced_at":"2025-04-03T09:23:28.267Z","repository":{"id":125318967,"uuid":"375041313","full_name":"zebp/wasm_deno_doc","owner":"zebp","description":"Bindings to deno documentation generator through WASM","archived":false,"fork":false,"pushed_at":"2021-07-14T17:51:57.000Z","size":6761,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T05:49:38.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zebp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-08T14:35:11.000Z","updated_at":"2021-07-14T17:52:00.000Z","dependencies_parsed_at":"2023-08-11T02:50:29.662Z","dependency_job_id":null,"html_url":"https://github.com/zebp/wasm_deno_doc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebp%2Fwasm_deno_doc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebp%2Fwasm_deno_doc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebp%2Fwasm_deno_doc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebp%2Fwasm_deno_doc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zebp","download_url":"https://codeload.github.com/zebp/wasm_deno_doc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970985,"owners_count":20862672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-28T20:48:43.798Z","updated_at":"2025-04-03T09:23:28.238Z","avatar_url":"https://github.com/zebp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wasm_deno_doc\nBindings to Deno's documentation generator built in Rust using WebAssembly.\n\n## Example\n\n```typescript\nconst esSyntax: Syntax = {\n  syntax: \"es\",\n  ...defaultEsConfig(),\n};\n\nconst tsSyntax: Syntax = {\n  syntax: \"typescript\",\n  ...defaultTsConfig(),\n};\n\nconst testFileLoader: FileLoader = {\n  resolve: (specifier: string) =\u003e specifier,\n  async loadSourceCode(specifier: string): Promise\u003c[Syntax, string]\u003e {\n    const segments = specifier.split(\".\");\n    const extension = segments[segments.length - 1];\n\n    const syntax = extension === \"ts\" ? tsSyntax : esSyntax;\n    const source = await Deno.readTextFile(specifier);\n\n    return [syntax, source];\n  },\n};\n\n\nconst parser = new Parser(testFileLoader, false);\nconst docNodes = await parser.parse(\"example.ts\");\n\nconsole.log(docNodes);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebp%2Fwasm_deno_doc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebp%2Fwasm_deno_doc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebp%2Fwasm_deno_doc/lists"}