{"id":18153441,"url":"https://github.com/thinknathan/tstl-simple-delete","last_synced_at":"2025-04-30T16:08:29.327Z","repository":{"id":246442232,"uuid":"821167460","full_name":"thinknathan/tstl-simple-delete","owner":"thinknathan","description":"TypeScriptToLua plugin that replaces calls to the TSTL `delete` function with a statement setting a value to `nil`.","archived":false,"fork":false,"pushed_at":"2025-04-01T18:41:27.000Z","size":289,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T16:08:25.594Z","etag":null,"topics":["lua","tstl","tstl-extension","tstl-plugin","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","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-06-28T00:45:01.000Z","updated_at":"2025-03-01T18:11:29.000Z","dependencies_parsed_at":"2025-02-01T06:29:35.619Z","dependency_job_id":null,"html_url":"https://github.com/thinknathan/tstl-simple-delete","commit_stats":null,"previous_names":["thinknathan/tstl-simple-delete"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Ftstl-simple-delete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Ftstl-simple-delete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Ftstl-simple-delete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Ftstl-simple-delete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinknathan","download_url":"https://codeload.github.com/thinknathan/tstl-simple-delete/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251739652,"owners_count":21635892,"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":["lua","tstl","tstl-extension","tstl-plugin","typescript"],"created_at":"2024-11-02T03:07:02.819Z","updated_at":"2025-04-30T16:08:29.233Z","avatar_url":"https://github.com/thinknathan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tstl-simple-delete\n\n[![CI](https://github.com/thinknathan/tstl-simple-delete/actions/workflows/ci.yml/badge.svg)](https://github.com/thinknathan/tstl-simple-delete/actions/workflows/ci.yml) ![GitHub License](https://img.shields.io/github/license/thinknathan/tstl-simple-delete)\n\nTypeScriptToLua plugin that replaces calls to the TSTL `delete` function with a statement setting a value to `nil`.\n\nThis repo offers an alternate implementation to the `simplifyDelete` option in [gb-tstl-utils](https://www.npmjs.com/package/gb-tstl-utils).\n\n:exclamation: Use this and any code transformation plugin with caution. Mistakes are possible.\n\n## Example\n\n`__TS__Delete(x, y)` becomes `x[y] = nil`\n\n## Installation\n\nRequires TSTL \u003e= 1.22.0.\n\n1. Install this plugin\n\n```bash\nyarn add tstl-simple-delete -D\n# or\nnpm install tstl-simple-delete --save-dev\n```\n\n2. Add `tstl-simple-delete` to `tstl.luaPlugins` in `tsconfig.json`\n\n```diff\n{\n\t\"tstl\": {\n\t\t\"luaPlugins\": [\n+\t\t\t{\n+\t\t\t\t\"name\": \"tstl-simple-delete\"\n+\t\t\t}\n\t\t],\n\t}\n}\n```\n\n## License\n\nCC0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinknathan%2Ftstl-simple-delete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinknathan%2Ftstl-simple-delete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinknathan%2Ftstl-simple-delete/lists"}