{"id":13571921,"url":"https://github.com/hazzard993/love-typescript-template","last_synced_at":"2025-07-09T19:33:58.783Z","repository":{"id":40584686,"uuid":"171569087","full_name":"hazzard993/love-typescript-template","owner":"hazzard993","description":"A template project to get started with a TypeScript LÖVE 2D project","archived":false,"fork":false,"pushed_at":"2024-09-11T03:56:46.000Z","size":317,"stargazers_count":37,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T08:29:12.282Z","etag":null,"topics":["love2d","template","template-project","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/hazzard993.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,"zenodo":null}},"created_at":"2019-02-19T23:54:11.000Z","updated_at":"2025-04-06T17:25:36.000Z","dependencies_parsed_at":"2023-01-29T02:15:32.745Z","dependency_job_id":"a8fb1bba-be0f-42f7-986c-e7305a02baff","html_url":"https://github.com/hazzard993/love-typescript-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/hazzard993/love-typescript-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazzard993","download_url":"https://codeload.github.com/hazzard993/love-typescript-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502490,"owners_count":23618617,"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":["love2d","template","template-project","typescript"],"created_at":"2024-08-01T14:01:08.336Z","updated_at":"2025-07-09T19:33:58.692Z","avatar_url":"https://github.com/hazzard993.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# LÖVE 2D TypeScript Project Template\n\nA template LÖVE 2D TypeScript Project made possible with [TypeScriptToLua](https://github.com/TypeScriptToLua/TypeScriptToLua).\n\nYou can click `Use this template` to clone this repo, or download it as a zip.\n\n## Scripts\n\nRequires [NodeJS](https://nodejs.org/en/download/) and [LÖVE 2D](https://love2d.org/) within your CLI.\n\n| Command                | Description                                      |\n| ---------------------- | ------------------------------------------------ |\n| `npm install`          | ⏬ Install dependencies                          |\n| `npm run build`        | 🔨 Build everything                              |\n| `npm run watch`        | 🔨x♾ Re-build Lua files when a TS file is saved |\n| `npm start`            | 🎮 Start the game                                |\n| `npm run fix:prettier` | 💄 Fixes linting issues                          |\n| `npm run lint`         | 💄 Checks for linting issues in code             |\n\nTo distribute the game, see the [game distribution wiki page](https://love2d.org/wiki/Game_Distribution).\n\nExternal files can be placed in `res/` and referenced with `res/\u003cfilename\u003e`.\n\ne.g.\n\n```ts\nlove.filesystem.read(\"res/input.txt\");\n```\n\n### Notes\n\n- If you're using VS Code, the [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) extension will automatically format your code for you so you don't need to run `npm run fix:prettier` on every change.\n- Index your arrays at 0 in your source code.\n- Lua does not iterate over sparse arrays (arrays with no values in the middle of them).\n\n### Links\n\n- [TypeScriptToLua Wiki](https://github.com/TypeScriptToLua/TypeScriptToLua/wiki)\n  - [Writing Declarations](https://github.com/TypeScriptToLua/TypeScriptToLua/wiki/Writing-Declarations)\n  - [Compiler Directives](https://github.com/TypeScriptToLua/TypeScriptToLua/wiki/Compiler-Directives)\n- [LÖVE 2D Wiki](https://love2d.org/wiki/Main_Page)\n- [LÖVE 2D - Getting Started](https://love2d.org/wiki/Getting_Started)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazzard993%2Flove-typescript-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazzard993%2Flove-typescript-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazzard993%2Flove-typescript-template/lists"}