{"id":15722568,"url":"https://github.com/thinknathan/tsd-ext-type-gen","last_synced_at":"2025-05-13T03:44:25.723Z","repository":{"id":219877692,"uuid":"750149899","full_name":"thinknathan/tsd-ext-type-gen","owner":"thinknathan","description":"TypeScript definitions generator that parses script APIs from Defold extensions","archived":false,"fork":false,"pushed_at":"2025-03-01T02:28:12.000Z","size":850,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T03:03:04.371Z","etag":null,"topics":["defold","defold-game-engine","gamedev","ts-defold","typescript","typescript-definitions"],"latest_commit_sha":null,"homepage":"","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/thinknathan.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":"2024-01-30T04:32:01.000Z","updated_at":"2025-02-01T03:41:58.000Z","dependencies_parsed_at":"2024-03-04T00:25:38.440Z","dependency_job_id":"9f58ce57-03a0-4a2e-8ff0-0e2fcd577ce8","html_url":"https://github.com/thinknathan/tsd-ext-type-gen","commit_stats":{"total_commits":83,"total_committers":2,"mean_commits":41.5,"dds":"0.24096385542168675","last_synced_commit":"12b20693978ac43d729edce106fb7a8d854ef538"},"previous_names":["thinknathan/tsd-ext-type-gen"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Ftsd-ext-type-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Ftsd-ext-type-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Ftsd-ext-type-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Ftsd-ext-type-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinknathan","download_url":"https://codeload.github.com/thinknathan/tsd-ext-type-gen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253870823,"owners_count":21976610,"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":["defold","defold-game-engine","gamedev","ts-defold","typescript","typescript-definitions"],"created_at":"2024-10-03T22:08:25.156Z","updated_at":"2025-05-13T03:44:25.702Z","avatar_url":"https://github.com/thinknathan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"_docs/ext-type-gen.png\" alt=\"Ext Type-Gen\"\u003e\n\n# TS Definitions Generator for TypeScript-Defold\n\n[![CI](https://github.com/thinknathan/tsd-ext-type-gen/actions/workflows/ci.yml/badge.svg)](https://github.com/thinknathan/tsd-ext-type-gen/actions/workflows/ci.yml) ![GitHub License](https://img.shields.io/github/license/thinknathan/tsd-ext-type-gen) \u003ca href=\"https://discord.gg/eukcq5m\"\u003e\u003cimg alt=\"Chat with us!\" src=\"https://img.shields.io/discord/766898804896038942.svg?colorB=7581dc\u0026logo=discord\u0026logoColor=white\"\u003e\u003c/a\u003e\n\nTypeScript definitions generator that parses script APIs from Defold extensions. Made for use with [TypeScript + Defold](https://ts-defold.dev/).\n\nThis tool searches through dependencies in your Defold project file, then attempts to find `script_api` files, and parse them to create TypeScript definitions.\n\n## Installation\n\n```bash\nyarn add tsd-ext-type-gen -D\n# or\nnpm install tsd-ext-type-gen --save-dev\n```\n\n## Usage\n\n`npx xtgen`\n\n- `-p` path to your `game.project` (default `./app/game.project`)\n- `-o` path to an output folder (default `./@types`)\n\n## Background\n\nStarted as a fork of @thejustinwalsh's [type-gen](https://github.com/ts-defold/type-gen), now with significant rewrites.\n\n\u003cp align=\"center\" class=\"h4\"\u003e\n  TypeScript :heart: Defold\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinknathan%2Ftsd-ext-type-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinknathan%2Ftsd-ext-type-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinknathan%2Ftsd-ext-type-gen/lists"}