{"id":13524590,"url":"https://github.com/hazzard993/love-typescript-definitions","last_synced_at":"2025-04-12T21:29:18.267Z","repository":{"id":34077217,"uuid":"148103191","full_name":"hazzard993/love-typescript-definitions","owner":"hazzard993","description":"Write LÖVE 2D projects with TypeScript","archived":false,"fork":false,"pushed_at":"2024-12-04T11:51:16.000Z","size":1527,"stargazers_count":122,"open_issues_count":2,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-03T22:09:56.326Z","etag":null,"topics":["love2d","lua","typescript","typescript-declaration","typescript-definitions","typescripttolua"],"latest_commit_sha":null,"homepage":"","language":null,"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":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2018-09-10T05:24:20.000Z","updated_at":"2025-03-04T03:03:35.000Z","dependencies_parsed_at":"2024-06-18T18:33:23.566Z","dependency_job_id":"83aa4fd9-2c26-47ac-a1ca-cbb32408459c","html_url":"https://github.com/hazzard993/love-typescript-definitions","commit_stats":{"total_commits":536,"total_committers":15,"mean_commits":"35.733333333333334","dds":0.08955223880597019,"last_synced_commit":"61297ba505802f3b2d50df20297ed91247b8e644"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-definitions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-definitions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-definitions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazzard993%2Flove-typescript-definitions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazzard993","download_url":"https://codeload.github.com/hazzard993/love-typescript-definitions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248634258,"owners_count":21137012,"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","lua","typescript","typescript-declaration","typescript-definitions","typescripttolua"],"created_at":"2024-08-01T06:01:11.506Z","updated_at":"2025-04-12T21:29:18.233Z","avatar_url":"https://github.com/hazzard993.png","language":null,"funding_links":[],"categories":["Development"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./media/love-typescript-definitions.png?raw=true\" alt=\"TypeScriptToLua + LÖVE 2D\" width=\"512\" /\u003e\n    \u003ch1\u003e\n        LÖVE 2D TypeScript Definitions\n        \u003cp\u003e\u003c/p\u003e\n        \u003ca href=\"http://love2d.org/\"\u003e\u003cimg alt=\"LÖVE 2D\" src=\"https://img.shields.io/badge/L%C3%96VE-11.5-EA316E.svg?style=for-the-badge\" /\u003e\u003c/a\u003e\n        \u003ca href=\"https://www.npmjs.com/package/love-typescript-definitions\"\u003e\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/love-typescript-definitions.svg?style=for-the-badge\" /\u003e\u003c/a\u003e\n    \u003c/h1\u003e\n\u003c/div\u003e\n\nContains declaration files to build [LÖVE 2D](https://love2d.org/) projects with TypeScript!\n\nBuilt for use with [TypeScriptToLua](https://github.com/TypeScriptToLua/TypeScriptToLua). Check out [love-typescript-template](https://github.com/hazzard993/love-typescript-template) to get a sample project to build off.\n\nOr run the following in a terminal to try it out:\n\n```sh\n# Requires NPX and Love2D to be available via cli\nnpm init -y\nnpm install -D typescript-to-lua typescript love-typescript-definitions\necho '{ \"compilerOptions\": { \"target\": \"ESNext\", \"lib\": [\"ESNext\"], \"moduleResolution\": \"Node\", \"types\": [\"love-typescript-definitions\", \"@typescript-to-lua/language-extensions\"] }, \"tstl\": { \"luaTarget\": \"JIT\" } }' \u003e tsconfig.json\necho \"love.draw = () =\u003e { love.graphics.print('Hello World') };\" \u003e main.ts\nnpx tstl -p tsconfig.json\nlove .\n```\n\n\u003e TIP: Use _tstl_'s watch mode (`--watch`) if you're after fast and automatic transpilation as files are updated.\n\nAvailable on NPM.\n\n```sh\nnpm install love-typescript-definitions\n```\n\n## Other Definitions / Tools to Help\n\n- [tstl-anim8](https://github.com/maxiy01/tstl-anim8) declarations for anim8, a small animation library for LÖVE.\n- [tstl-flux](https://github.com/maxiy01/tstl-flux) declarations for flux, a fast, lightweight tweening library for Lua.\n- [tstl-roomy](https://github.com/maxiy01/tstl-roomy) declarations for roomy, a small screen-management lua module.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazzard993%2Flove-typescript-definitions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazzard993%2Flove-typescript-definitions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazzard993%2Flove-typescript-definitions/lists"}